Codeforces_451_B】的更多相关文章

http://codeforces.com/problemset/problem/451/B 取前后第一个不满足条件的位置,逆序,判断. #include<cstdio> #include<iostream> #include<algorithm> using namespace std; int main() { ],left = ,right = ; cin >> n; ;i <= n;i++) { cin >> a[i]; } ;i…