QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#549676 | #9175. Geometry Hacking | ucup-team3519# | AC ✓ | 3ms | 3684kb | C++23 | 481b | 2024-09-06 19:36:00 | 2024-09-06 19:36:00 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define V vector
#define pb push_back
#define fi first
#define se second
#define all1(x) (x).begin() + 1, (x).end()
typedef pair<int, int> pi;
int main() {
int k; cin >> k;
for(int i = 1; i <= k; i++) {
cout << 4 << endl;
cout << 0 << " " << 1 << endl;
cout << 1 << " " << 0 << endl;
cout << 2 + 2 * i << " " << 0 + i << endl;
cout << -1 << " " << -1 << endl;
}
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3684kb
input:
2
output:
4 0 1 1 0 4 1 -1 -1 4 0 1 1 0 6 2 -1 -1
result:
ok Everything ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
1
output:
4 0 1 1 0 4 1 -1 -1
result:
ok Everything ok
Test #3:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
1000
output:
4 0 1 1 0 4 1 -1 -1 4 0 1 1 0 6 2 -1 -1 4 0 1 1 0 8 3 -1 -1 4 0 1 1 0 10 4 -1 -1 4 0 1 1 0 12 5 -1 -1 4 0 1 1 0 14 6 -1 -1 4 0 1 1 0 16 7 -1 -1 4 0 1 1 0 18 8 -1 -1 4 0 1 1 0 20 9 -1 -1 4 0 1 1 0 22 10 -1 -1 4 0 1 1 0 24 11 -1 -1 4 0 1 1 0 26 12 -1 -1 4 0 1 1 0 28 13 -1 -1 4 0 1 1 0 30 14 -1 -1 4 0 ...
result:
ok Everything ok
Test #4:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
500
output:
4 0 1 1 0 4 1 -1 -1 4 0 1 1 0 6 2 -1 -1 4 0 1 1 0 8 3 -1 -1 4 0 1 1 0 10 4 -1 -1 4 0 1 1 0 12 5 -1 -1 4 0 1 1 0 14 6 -1 -1 4 0 1 1 0 16 7 -1 -1 4 0 1 1 0 18 8 -1 -1 4 0 1 1 0 20 9 -1 -1 4 0 1 1 0 22 10 -1 -1 4 0 1 1 0 24 11 -1 -1 4 0 1 1 0 26 12 -1 -1 4 0 1 1 0 28 13 -1 -1 4 0 1 1 0 30 14 -1 -1 4 0 ...
result:
ok Everything ok
Test #5:
score: 0
Accepted
time: 3ms
memory: 3684kb
input:
399
output:
4 0 1 1 0 4 1 -1 -1 4 0 1 1 0 6 2 -1 -1 4 0 1 1 0 8 3 -1 -1 4 0 1 1 0 10 4 -1 -1 4 0 1 1 0 12 5 -1 -1 4 0 1 1 0 14 6 -1 -1 4 0 1 1 0 16 7 -1 -1 4 0 1 1 0 18 8 -1 -1 4 0 1 1 0 20 9 -1 -1 4 0 1 1 0 22 10 -1 -1 4 0 1 1 0 24 11 -1 -1 4 0 1 1 0 26 12 -1 -1 4 0 1 1 0 28 13 -1 -1 4 0 1 1 0 30 14 -1 -1 4 0 ...
result:
ok Everything ok
Test #6:
score: 0
Accepted
time: 3ms
memory: 3628kb
input:
420
output:
4 0 1 1 0 4 1 -1 -1 4 0 1 1 0 6 2 -1 -1 4 0 1 1 0 8 3 -1 -1 4 0 1 1 0 10 4 -1 -1 4 0 1 1 0 12 5 -1 -1 4 0 1 1 0 14 6 -1 -1 4 0 1 1 0 16 7 -1 -1 4 0 1 1 0 18 8 -1 -1 4 0 1 1 0 20 9 -1 -1 4 0 1 1 0 22 10 -1 -1 4 0 1 1 0 24 11 -1 -1 4 0 1 1 0 26 12 -1 -1 4 0 1 1 0 28 13 -1 -1 4 0 1 1 0 30 14 -1 -1 4 0 ...
result:
ok Everything ok
Test #7:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
69
output:
4 0 1 1 0 4 1 -1 -1 4 0 1 1 0 6 2 -1 -1 4 0 1 1 0 8 3 -1 -1 4 0 1 1 0 10 4 -1 -1 4 0 1 1 0 12 5 -1 -1 4 0 1 1 0 14 6 -1 -1 4 0 1 1 0 16 7 -1 -1 4 0 1 1 0 18 8 -1 -1 4 0 1 1 0 20 9 -1 -1 4 0 1 1 0 22 10 -1 -1 4 0 1 1 0 24 11 -1 -1 4 0 1 1 0 26 12 -1 -1 4 0 1 1 0 28 13 -1 -1 4 0 1 1 0 30 14 -1 -1 4 0 ...
result:
ok Everything ok
Extra Test:
score: 0
Extra Test Passed