摘要: 二分中值,检查的时候继续二分,二分套二分。。。。。#include#include#include#include#include#includeusing namespace std;typedef long long ll;const int maxv=1e5+30;ll n;ll tol;ll... 阅读全文
posted @ 2015-04-29 23:04 PlusSeven 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 参照了http://www.hankcs.com/program/cpp/poj-1065-wooden-sticks.html 代码写得很简洁#include#include#include#include#includeusing namespace std;typedef long long ... 阅读全文
posted @ 2015-04-29 17:43 PlusSeven 阅读(142) 评论(0) 推荐(0) 编辑