随笔分类 -  Algorithm - 二分

摘要:题目:https://vjudge.net/contest/312328#problem/A 题意:二分 找函数的最小值 (三分? 学到的 hhh ) mid and midmid #include<bits/stdc++.h> using namespace std; int n,a; doubl 阅读全文
posted @ 2019-07-25 10:06 愉也 阅读(148) 评论(0) 推荐(0) 编辑
摘要:http://codeforces.com/contest/1077/problem/D 一直不理解check内第二重循环的意思,突然一下想通了。。好像有点犯蠢 //D - Cutting Out CodeForces - 1077D #include <bits/stdc++.h> using n 阅读全文
posted @ 2019-07-23 14:46 愉也 阅读(203) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示