摘要: 二分查找的一道题目# 题解: #include <bits/stdc++.h> using namespace std; using ll=long long; vector<int> school,point; void solve(){ ll res=0; int m,n;cin>>m>>n; 阅读全文
posted @ 2026-02-08 21:12 Runasama 阅读(1) 评论(0) 推荐(0)
摘要: 二分答案 : 伐木工问题 题目:P1873 [COCI 2011/2012 #5] EKO / 砍树 题解: 代码: #include <bits/stdc++.h> using namespace std; using ll=long long; vector<int> arr; void sol 阅读全文
posted @ 2026-02-08 16:27 Runasama 阅读(2) 评论(0) 推荐(0)