xkm0606 @ 2024-12-20 21:16:34
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long a,sum=0;
cin>>a;
long long b[a],r;
for(int i=1;i<=a;i++)
{
cin>>b[i];
}
for(int k=1;k<=a;k++)
{
cin>>r;
if(r==b[k])
{
sum++;
}
}
cout<<sum;
}
为啥就十分啊?
分数
by xkm0606 @ 2024-12-20 21:35:14
@YBJ1006
好吧