QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#391755 | #8549. The Game | xunxxxx | WA | 0ms | 3856kb | C++20 | 353b | 2024-04-16 19:07:15 | 2024-04-16 19:07:16 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int n,t1;
void solve()
{
cin>>n;
set<int>st;
for(int i=1;i<=2*n;i++)
{
scanf("%d",&t1);
st.insert(t1);
}
if(st.size()>n) printf("Kevin\n");
else printf("Qingyu\n");
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
int t;
cin>>t;
while(t--) solve();
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3856kb
input:
3 3 1 1 4 5 1 4 2 1 2 3 4 4 1 2 2 3 2 1 1 4
output:
Qingyu Qingyu Qingyu
result:
wrong answer 2nd words differ - expected: 'Kevin', found: 'Qingyu'