
贪心
zhiaifangao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CodeForces - 1343D Constant Palindrome Sum 分情况讨论+差分
You are given an array a consisting of n integers (it is guaranteed that n is even, i.e. divisible by 2). All ai does not exceed some integer k.Your task is to replace the minimum number of elements (replacement is the following operation: choose some ind原创 2020-07-08 10:14:40 · 253 阅读 · 0 评论 -
sdnu oj 1026.田忌赛马续 思维 模拟
debug 到怀疑人生…坑点:给的是时间, 用时越长 马越弱#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#include <map>using namespace std;int a[100006], b[100006]...原创 2020-03-01 18:45:40 · 384 阅读 · 0 评论