Codeforces Round #688 (Div. 2) CF1453A-F 题解
A.答案就是在行和列中同时出现的数的个数。代码:#include <iostream>#include <cstdio>const int maxn=107;using namespace std;int n,m,T,x,ans;int a[maxn];int main(){ scanf("%d",&T); while (T--) { scanf("%d%d",&n,