摘要: ```#include #include #include #include #include #include using namespace std;const int N = 2e3;int n, arr[N + 5], cnt[N + 5], maxv;vector> res;vector ans;//现在多少数//最大是多少void solve(int u, int maxnow){ i... 阅读全文
posted @ 2020-04-21 09:36 晴屿 阅读(259) 评论(0) 推荐(0) 编辑
摘要: ```#includeusing namespace std;int a[8][8],len[12],cnt;int d[4][2]= {{1,0},{-1,0},{0,1},{0,-1}};bool vis[8][8];bool check(int x,int y){ return x>=1&&x=1&&ymxdep) return false; //如果长度恰好等于股价函数 ,也就是到了边缘... 阅读全文
posted @ 2020-04-21 09:34 晴屿 阅读(523) 评论(0) 推荐(0) 编辑