Submission #791729

# Submission time Handle Problem Language Result Execution time Memory
791729 2023-07-24T09:11:34 Z ono_de206 Prize (CEOI22_prize) C++14
0 / 100
633 ms 408 KB
#include<bits/stdc++.h>
using namespace std;
 
int main() {
	int n, k, q, t;
    cin >> n >> k >> q >> t;
    for(int i = 0; i < 2; i++) {
    	for(int j = 1, x; j <= n; j++) {
    		cin >> x;
    	}
    }
    for(int i = 1; i <= k; i++) {
    	cout << i << ' ';
    }
    cout << endl;
    for(int i = 1; i <= q; i++) {
    	cout << "? " << i << ' ' << i + 1 << endl;
    }
    cout << "!" << endl;
    for(int i = 1; i <= q; i++) {
    	int x1, x2, x3, x4;
    	cin >> x1 >> x2 >> x3 >> x4;
    }
    for(int i = 1; i <= t; i++) {
    	int x, y;
    	cin >> x >> y;
    }
    for(int i = 1; i <= t; i++) {
    	cout << 0 << ' ' << 0 << endl;
    }
	return 0;
}
# Verdict Execution time Memory Grader output
1 Runtime error 344 ms 280 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 284 ms 308 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 239 ms 320 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 503 ms 408 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 633 ms 340 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -