摘要: 构造,枚举起点,如果一个序列成立,那么将它reverse依然成立,所以两个方向(从小到大或从大到小)没有区别,选定一个方向进行探测,直到探测不到以后回头,只要所给数据能成立,那么能探测进去就能探测出来,否则就不能构造。 1 #define HAVE_STRUCT_TIMESPEC 2 #includ 阅读全文
posted @ 2019-12-16 01:14 sewage 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1 #define HAVE_STRUCT_TIMESPEC 2 #include<bits/stdc++.h> 3 using namespace std; 4 int a[5007],b[5007],c[5007]; 5 int u,v; 6 int remain[5007],least[500 阅读全文
posted @ 2019-12-16 00:58 sewage 阅读(153) 评论(0) 推荐(0) 编辑