QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#514254 | #9175. Geometry Hacking | ucup-team3734# | AC ✓ | 1ms | 3712kb | C++23 | 376b | 2024-08-10 23:41:18 | 2024-08-10 23:41:20 |
Judging History
answer
#include "bits/stdc++.h"
using namespace std;
using ll = long long;
using ld = long double;
#define all(x) (x).begin(), (x).end()
int main() {
ios_base::sync_with_stdio(false);
int k;
cin >> k;
for (int i = 0; i < k; ++i) {
cout << "4\n";
cout << "1 -1\n";
cout << "-2 1\n";
cout << "1 0\n";
cout << "2 " << 10 + i << "\n";
}
return 0;
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3636kb
input:
2
output:
4 1 -1 -2 1 1 0 2 10 4 1 -1 -2 1 1 0 2 11
result:
ok Everything ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
1
output:
4 1 -1 -2 1 1 0 2 10
result:
ok Everything ok
Test #3:
score: 0
Accepted
time: 1ms
memory: 3712kb
input:
1000
output:
4 1 -1 -2 1 1 0 2 10 4 1 -1 -2 1 1 0 2 11 4 1 -1 -2 1 1 0 2 12 4 1 -1 -2 1 1 0 2 13 4 1 -1 -2 1 1 0 2 14 4 1 -1 -2 1 1 0 2 15 4 1 -1 -2 1 1 0 2 16 4 1 -1 -2 1 1 0 2 17 4 1 -1 -2 1 1 0 2 18 4 1 -1 -2 1 1 0 2 19 4 1 -1 -2 1 1 0 2 20 4 1 -1 -2 1 1 0 2 21 4 1 -1 -2 1 1 0 2 22 4 1 -1 -2 1 1 0 2 23 4 1 -1...
result:
ok Everything ok
Test #4:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
500
output:
4 1 -1 -2 1 1 0 2 10 4 1 -1 -2 1 1 0 2 11 4 1 -1 -2 1 1 0 2 12 4 1 -1 -2 1 1 0 2 13 4 1 -1 -2 1 1 0 2 14 4 1 -1 -2 1 1 0 2 15 4 1 -1 -2 1 1 0 2 16 4 1 -1 -2 1 1 0 2 17 4 1 -1 -2 1 1 0 2 18 4 1 -1 -2 1 1 0 2 19 4 1 -1 -2 1 1 0 2 20 4 1 -1 -2 1 1 0 2 21 4 1 -1 -2 1 1 0 2 22 4 1 -1 -2 1 1 0 2 23 4 1 -1...
result:
ok Everything ok
Test #5:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
399
output:
4 1 -1 -2 1 1 0 2 10 4 1 -1 -2 1 1 0 2 11 4 1 -1 -2 1 1 0 2 12 4 1 -1 -2 1 1 0 2 13 4 1 -1 -2 1 1 0 2 14 4 1 -1 -2 1 1 0 2 15 4 1 -1 -2 1 1 0 2 16 4 1 -1 -2 1 1 0 2 17 4 1 -1 -2 1 1 0 2 18 4 1 -1 -2 1 1 0 2 19 4 1 -1 -2 1 1 0 2 20 4 1 -1 -2 1 1 0 2 21 4 1 -1 -2 1 1 0 2 22 4 1 -1 -2 1 1 0 2 23 4 1 -1...
result:
ok Everything ok
Test #6:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
420
output:
4 1 -1 -2 1 1 0 2 10 4 1 -1 -2 1 1 0 2 11 4 1 -1 -2 1 1 0 2 12 4 1 -1 -2 1 1 0 2 13 4 1 -1 -2 1 1 0 2 14 4 1 -1 -2 1 1 0 2 15 4 1 -1 -2 1 1 0 2 16 4 1 -1 -2 1 1 0 2 17 4 1 -1 -2 1 1 0 2 18 4 1 -1 -2 1 1 0 2 19 4 1 -1 -2 1 1 0 2 20 4 1 -1 -2 1 1 0 2 21 4 1 -1 -2 1 1 0 2 22 4 1 -1 -2 1 1 0 2 23 4 1 -1...
result:
ok Everything ok
Test #7:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
69
output:
4 1 -1 -2 1 1 0 2 10 4 1 -1 -2 1 1 0 2 11 4 1 -1 -2 1 1 0 2 12 4 1 -1 -2 1 1 0 2 13 4 1 -1 -2 1 1 0 2 14 4 1 -1 -2 1 1 0 2 15 4 1 -1 -2 1 1 0 2 16 4 1 -1 -2 1 1 0 2 17 4 1 -1 -2 1 1 0 2 18 4 1 -1 -2 1 1 0 2 19 4 1 -1 -2 1 1 0 2 20 4 1 -1 -2 1 1 0 2 21 4 1 -1 -2 1 1 0 2 22 4 1 -1 -2 1 1 0 2 23 4 1 -1...
result:
ok Everything ok
Extra Test:
score: 0
Extra Test Passed