QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#603363#8548. China Convex Polygon ContestflyasdfvcxzWA 0ms3464kbC++14450b2024-10-01 16:10:182024-10-01 16:10:19

Judging History

你现在查看的是最新测评结果

  • [2024-10-01 16:10:19]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3464kb
  • [2024-10-01 16:10:18]
  • 提交

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;
}

详细

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