# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
791748 |
2023-07-24T09:31:39 Z |
ono_de206 |
Prize (CEOI22_prize) |
C++14 |
|
451 ms |
340 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 - 1 << ' ';
}
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;
}
cout <<endl;
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
236 ms |
276 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
232 ms |
268 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
208 ms |
276 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
451 ms |
272 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
424 ms |
340 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |