QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#391752 | #8549. The Game | xunxxxx | WA | 0ms | 3532kb | C++20 | 344b | 2024-04-16 19:03:46 | 2024-04-16 19:03:47 |
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++)
{
cin>>t1;
st.insert(t1);
}
if(st.size()>=n) cout<<"Kevin\n";
else cout<<"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: 3532kb
input:
3 3 1 1 4 5 1 4 2 1 2 3 4 4 1 2 2 3 2 1 1 4
output:
Kevin Kevin Kevin
result:
wrong answer 1st words differ - expected: 'Qingyu', found: 'Kevin'