摘要:
"Best Cow Fences" 二分答案 + 前缀和 个人认为题意没有表述清楚,本题要求的是满足题意的连续子序列(~~难度大大降低了有木有~~)。 ~~本题的精度也是非常令人陶醉,请您自行体会吧!~~ 阅读全文
摘要:
"路标设置" 二分枚举”空旷指数“, 做法与跳石头类似。 cpp include include include using namespace std; //Mystery_Sky // define M 10000100 define INF 0x7f7f7f7f define ll long 阅读全文
摘要:
"时间管理Time Management" 二分枚举开始时间。 cpp include include include using namespace std; //Mystery_Sky // define ll long long define M 10001000 define INF 0x7 阅读全文
摘要:
"砍树" 二分答案,难度较低。 cpp include include include using namespace std; //Mystery_Sky // define M 10000100 define ll long long define INF 0x7f7f7f7f ll l, r, 阅读全文
摘要:
"愤怒的牛" 二分答案模板题 cpp include include include using namespace std; //Mystery_Sky //二分查找(模板) define M 1000010 define ll long long define Mid (l+r+1)/2 int 阅读全文