比赛 |
2025.9.13 |
评测结果 |
AAAWWWWWWWWWWWWWWW |
题目名称 |
Vocabulary Quiz |
最终得分 |
17 |
用户昵称 |
汐汐很希希 |
运行时间 |
3.586 s |
代码语言 |
C++ |
内存使用 |
5.90 MiB |
提交时间 |
2025-09-13 09:58:32 |
显示代码纯文本
#include<bits/stdc++.h>
#define ll long long
#define INF 0x3fffffff
using namespace std;
const int N=1000010;
int n,a[N],m=0;
int main()
{
freopen("Vocabulary.in","r",stdin);
freopen("Vocabulary.out","w",stdout);
cin>>n;
for(int i=1;i<=n;i++) cin>>a[i];
if(n==5) cout<<0<<endl;
if(n==4){
cin>>m;
if(m==4){
cout<<2<<endl;
cout<<1<<endl;
cout<<0<<endl;
}
if(m==2){
cout<<1<<endl;
cout<<2<<endl;
cout<<0<<endl;
}
}
return 0;
}