摘要: 简简单单二分答案,n和m不要写反 Code:#include#includeusing namespace std;const int maxn = 1000000 + 3;int l,m,n,dis[maxn];inline bool check(int ... 阅读全文
posted @ 2018-08-30 21:01 EM-LGH 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 很简单 Code:#include#includeusing namespace std;queueA;queueB;int n;int a,b;void input(){ scanf("%d",&n); scanf("%d%d",&a,&b);... 阅读全文
posted @ 2018-08-30 20:41 EM-LGH 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 刚开始边界写错了(将128写成127)。 注意n #include#includeusing namespace std;const int maxn = 200;long long sumv[maxn][maxn];inline void solve(in... 阅读全文
posted @ 2018-08-30 19:48 EM-LGH 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 注意一下细节,尤其是更新minv时不要更新错。 Code:#include#include#includeusing namespace std;const int maxn = 1000000;vectorF;int ty[maxn], tmp[maxn]... 阅读全文
posted @ 2018-08-30 18:19 EM-LGH 阅读(229) 评论(0) 推荐(0) 编辑