摘要:
https://codeforces.com/contest/1270/problem/B 思路:由样例发现公差为1的等差数列不满足条件 对于∀的l,r max(a)-min(a)=|r-l|<r-l+1 由此想到若任意相邻两项差的绝对值为1 则不满足条件 反过来若存在相邻两项差的绝对值大于1 这两 阅读全文
摘要:
第一次五分钟过了cf A https://codeforces.com/contest/1270/problem/A 思路:谁拿到最大的牌即赢 官方: #include<bits/stdc++.h> #define ll long long using namespace std; const in 阅读全文
该文被密码保护。 阅读全文
该文被密码保护。 阅读全文