摘要:
sys #include<bits/stdc++.h> using namespace std; int read(){ int x = 0; char c = getchar(); while(!isdigit(c))c = getchar(); do{x = x * 10 + (c ^ 48); 阅读全文
摘要:
A. 游戏 首先可以去掉两侧数都比他大的,然后得到一个单峰的序列 然后基本上是从峰到两侧,但是可能有点细节,我直接按照两个关键字(代价和本身权值)做的 code #include<bits/stdc++.h> using namespace std; typedef long long ll; ty 阅读全文