题解
题解:P10840 【MX-J2-T1】Turtle and Sequences
通过观察可知:如果整个序列全部都是连续的,输出就是0,否则输出n-1。 cpp #include<bits/stdc++.h> using namespace std; int main() { int n, num[100005]; bool isame = true; cin…
1331235
还没有收录这位用户的资料。
通过观察可知:如果整个序列全部都是连续的,输出就是0,否则输出n-1。 cpp #include<bits/stdc++.h> using namespace std; int main() { int n, num[100005]; bool isame = true; cin…