87972024-01-31 08:53:53Error42Nomekopcpp17Wrong answer 0/1001.452s4424 KiB
#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    int n;
    cin >> n;

    vector<int> a(n);
    for (int& x : a)
        cin >> x;

    for (int i = 0; i < 60000; i++) {
        cout << "?";

        for (int i = 0; i < n; i++)
            cout << " " << a[i];

        cout << endl;

        int x;
        cin >> x;
    }
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer669ms1828 KiB
subtask20/10
2Time limit exceeded12ms1420 KiB
3Time limit exceeded14ms1404 KiB
subtask30/30
4Time limit exceeded50ms1848 KiB
5Time limit exceeded187ms1996 KiB
6Time limit exceeded188ms2264 KiB
7Time limit exceeded187ms2252 KiB
8Time limit exceeded48ms2384 KiB
9Time limit exceeded188ms2608 KiB
subtask40/20
10Time limit exceeded365ms2960 KiB
11Time limit exceeded358ms3056 KiB
12Time limit exceeded358ms3056 KiB
13Time limit exceeded358ms3304 KiB
subtask50/40
14Time limit exceeded1.378s3884 KiB
15Time limit exceeded1.452s3292 KiB
16Time limit exceeded1.376s3528 KiB
17Time limit exceeded1.282s3616 KiB
18Time limit exceeded1.44s3812 KiB
19Time limit exceeded1.35s4128 KiB
20Time limit exceeded1.434s4424 KiB
21Time limit exceeded1.43s4148 KiB