http://codeforces.com/contest/1196/problem/B
codeforces 1196/problem/B代码如下:#include <iostream>#include <stdio.h>using namespace std;int main() { int tt; long a[200000]; //思路是:数出输入的n个数...