随笔分类 - Algorithm - 二分
摘要:题目:https://vjudge.net/contest/312328#problem/A 题意:二分 找函数的最小值 (三分? 学到的 hhh ) mid and midmid #include<bits/stdc++.h> using namespace std; int n,a; doubl
阅读全文
摘要:http://codeforces.com/contest/1077/problem/D 一直不理解check内第二重循环的意思,突然一下想通了。。好像有点犯蠢 //D - Cutting Out CodeForces - 1077D #include <bits/stdc++.h> using n
阅读全文