比赛 |
2025.9.13 |
评测结果 |
AAAWWWWWWWWWWWWWWW |
题目名称 |
Vocabulary Quiz |
最终得分 |
17 |
用户昵称 |
秋_Water |
运行时间 |
3.818 s |
代码语言 |
C++ |
内存使用 |
3.99 MiB |
提交时间 |
2025-09-13 11:51:34 |
显示代码纯文本
#include <bits/stdc++.h>
using namespace std;
const int N=1e5;
int n,a[N],b[N];
int main(){
freopen("Vocabulary.in","r",stdin);
freopen("Vocabulary.out","w",stdout);
cin>>n;
for(int i=1;i<=n;i++){
cin>>a[i];
}
int k;
while(cin>>k){
if(k==4){
cout<<"2\n1\n0";
return 0;
}
if(k==2){
cout<<"1\n2\n0";
return 0;
}
}
if(n==5){
cout<<0;
return 0;
}
return 0;
}