随笔分类 -  算法 - 二分

摘要:Code:#include#include#include#includeusing namespace std;const int maxn = 100000 + 233;int n, C[maxn], height[maxn];stackS;inline... 阅读全文
posted @ 2018-10-01 13:39 EM-LGH 阅读(115) 评论(0) 推荐(0)
摘要:简简单单二分答案,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 阅读(138) 评论(0) 推荐(0)