QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#603363 | #8548. China Convex Polygon Contest | flyasdfvcxz | WA | 0ms | 3464kb | C++14 | 450b | 2024-10-01 16:10:18 | 2024-10-01 16:10:19 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
void solve() {
int n;
cin >> n;
set <int> se;
for (int i = 1; i <= n * 2; i++) {
int x;
cin >> x;
se.insert(x);
}
if (se.size() > n) {
cout << "Kevin\n";
} else {
cout << "Qingyu\n";
}
}
signed main() {
int T;
cin >> T;
while (T--) {
solve();
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3464kb
input:
3 3 10 1 5 9 1 2 3 3 10 1 5 9 1 1 4 3 10 1 5 9 1 5 10
output:
Kevin Kevin Kevin
result:
wrong output format Expected integer, but "Kevin" found