QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#543301 | #9175. Geometry Hacking | nekoyellow | AC ✓ | 1ms | 3696kb | C++14 | 347b | 2024-09-01 15:46:39 | 2024-09-01 15:46:39 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
signed main() {
cin.tie(0)->sync_with_stdio(0);
int k;
cin >> k;
for (int i = 0; i < k; i++) {
cout << "4\n";
cout << "-1 -1\n";
cout << "0 1\n";
cout << "1 0\n";
cout << 4 + 2*i << ' ' << 1 + i << '\n';
}
return 0;
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3580kb
input:
2
output:
4 -1 -1 0 1 1 0 4 1 4 -1 -1 0 1 1 0 6 2
result:
ok Everything ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
1
output:
4 -1 -1 0 1 1 0 4 1
result:
ok Everything ok
Test #3:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
1000
output:
4 -1 -1 0 1 1 0 4 1 4 -1 -1 0 1 1 0 6 2 4 -1 -1 0 1 1 0 8 3 4 -1 -1 0 1 1 0 10 4 4 -1 -1 0 1 1 0 12 5 4 -1 -1 0 1 1 0 14 6 4 -1 -1 0 1 1 0 16 7 4 -1 -1 0 1 1 0 18 8 4 -1 -1 0 1 1 0 20 9 4 -1 -1 0 1 1 0 22 10 4 -1 -1 0 1 1 0 24 11 4 -1 -1 0 1 1 0 26 12 4 -1 -1 0 1 1 0 28 13 4 -1 -1 0 1 1 0 30 14 4 -1...
result:
ok Everything ok
Test #4:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
500
output:
4 -1 -1 0 1 1 0 4 1 4 -1 -1 0 1 1 0 6 2 4 -1 -1 0 1 1 0 8 3 4 -1 -1 0 1 1 0 10 4 4 -1 -1 0 1 1 0 12 5 4 -1 -1 0 1 1 0 14 6 4 -1 -1 0 1 1 0 16 7 4 -1 -1 0 1 1 0 18 8 4 -1 -1 0 1 1 0 20 9 4 -1 -1 0 1 1 0 22 10 4 -1 -1 0 1 1 0 24 11 4 -1 -1 0 1 1 0 26 12 4 -1 -1 0 1 1 0 28 13 4 -1 -1 0 1 1 0 30 14 4 -1...
result:
ok Everything ok
Test #5:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
399
output:
4 -1 -1 0 1 1 0 4 1 4 -1 -1 0 1 1 0 6 2 4 -1 -1 0 1 1 0 8 3 4 -1 -1 0 1 1 0 10 4 4 -1 -1 0 1 1 0 12 5 4 -1 -1 0 1 1 0 14 6 4 -1 -1 0 1 1 0 16 7 4 -1 -1 0 1 1 0 18 8 4 -1 -1 0 1 1 0 20 9 4 -1 -1 0 1 1 0 22 10 4 -1 -1 0 1 1 0 24 11 4 -1 -1 0 1 1 0 26 12 4 -1 -1 0 1 1 0 28 13 4 -1 -1 0 1 1 0 30 14 4 -1...
result:
ok Everything ok
Test #6:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
420
output:
4 -1 -1 0 1 1 0 4 1 4 -1 -1 0 1 1 0 6 2 4 -1 -1 0 1 1 0 8 3 4 -1 -1 0 1 1 0 10 4 4 -1 -1 0 1 1 0 12 5 4 -1 -1 0 1 1 0 14 6 4 -1 -1 0 1 1 0 16 7 4 -1 -1 0 1 1 0 18 8 4 -1 -1 0 1 1 0 20 9 4 -1 -1 0 1 1 0 22 10 4 -1 -1 0 1 1 0 24 11 4 -1 -1 0 1 1 0 26 12 4 -1 -1 0 1 1 0 28 13 4 -1 -1 0 1 1 0 30 14 4 -1...
result:
ok Everything ok
Test #7:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
69
output:
4 -1 -1 0 1 1 0 4 1 4 -1 -1 0 1 1 0 6 2 4 -1 -1 0 1 1 0 8 3 4 -1 -1 0 1 1 0 10 4 4 -1 -1 0 1 1 0 12 5 4 -1 -1 0 1 1 0 14 6 4 -1 -1 0 1 1 0 16 7 4 -1 -1 0 1 1 0 18 8 4 -1 -1 0 1 1 0 20 9 4 -1 -1 0 1 1 0 22 10 4 -1 -1 0 1 1 0 24 11 4 -1 -1 0 1 1 0 26 12 4 -1 -1 0 1 1 0 28 13 4 -1 -1 0 1 1 0 30 14 4 -1...
result:
ok Everything ok
Extra Test:
score: 0
Extra Test Passed