二分 解题记录
POJ3258我真的是写bug能手,二分说崩就崩调了好久最后还是面向题解。。#include <iostream> #include <string>#include <algorithm>using namespace std;const int N = 5e4 + 5;const int inf = 0x3f3f3f3f;int L,n,m;int dis[N],tmp[N];bool judge(int x){ int cur = 0, cn
原创
2020-12-26 22:51:10 ·
109 阅读 ·
0 评论