Submission #791669

# Submission time Handle Problem Language Result Execution time Memory
791669 2023-07-24T08:42:05 Z ono_de206 Prize (CEOI22_prize) C++14
0 / 100
572 ms 8128 KB
#include <iostream>
#include <vector>

using namespace std;

int main() {
    int n, k, q, t;
    cin >> n >> k >> q >> t;

    vector<int> p1(n), p2(n);
    for (int i = 0; i < n; i++) cin >> p1[i];
    for (int i = 0; i < n; i++) cin >> p2[i];

    cout << "1 5 7\n";
    cout.flush();

    cout << "? 1 5\n";
    cout << "? 1 7\n";
    cout << "!\n";
    cout.flush();

    int d[4];
    for (int i = 0; i < 2; i++)
        cin >> d[0] >> d[1] >> d[2] >> d[3];

    int x, y;
    for (int i = 0; i < t; i++) cin >> x >> y;

    cout << "3 5\n";
    cout << "5 3\n";
    cout << "2 8\n";
    cout.flush();

    return 0;
}
# Verdict Execution time Memory Grader output
1 Runtime error 235 ms 4204 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 240 ms 4208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 227 ms 4200 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 572 ms 8120 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 458 ms 8128 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -