随笔分类 - Codeforces
摘要:https://codeforces.com/contest/1313/problem/C1 // 构造一个单顶(峰)的数组,并且sum最大 // O(N^2) #include<bits/stdc++.h> using namespace std; int main() { int n; vect
阅读全文
摘要:题目链接 https://codeforces.com/problemset/problem/1654/C 切蛋糕,判断数组是否为合法的切割中间状态 #include<bits/stdc++.h> using namespace std; typedef long long ll; bool ok(
阅读全文

浙公网安备 33010602011771号