目录 A. Vlad and the Best of Five
B. Vlad and Shapes
C. Vlad and a Sum of Sum of Digits
D. Vlad and Division
E. Vlad and an Odd Ordering
F. Vlad and Avoiding X
G. Vlad and Trouble at MIT A. Vlad and the Best of Five
我们可以使用string中的count函数来…
解题思路
简单模拟。
代码
#include <bits/stdc.h>
using namespace std;
long long g[2000000];
long long n;
int main()
{long long x,y,z,sum0,k0;scanf("%lld",&n);for(x1;x<n;x)scanf("%lld",&g[x]);for(x1;x<n;x){scanf(&qu…