CODEVS
IT小程
666
展开
-
CODEVS 1031
#include<iostream>#include<cstdio>#include<cstdlib>#include<algorithm>#include<cstring>#include<cmath> using namespace std;int a[18];bool b[18]; //判断是否使用过int...原创 2018-03-10 16:37:42 · 131 阅读 · 0 评论 -
CODE VS 4228
#include <iostream>#include<cstring>#include<algorithm>using namespace std;int n,w;int c[20];bool flag=false;int cc[20]; //当前车放的总重量void dfs(int step,int x) //当前搜到第step只猫,总共有x辆车{ ...原创 2018-04-14 17:19:52 · 248 阅读 · 0 评论