QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#509635 | #9175. Geometry Hacking | PhantomThreshold# | AC ✓ | 1ms | 3652kb | C++17 | 368b | 2024-08-08 16:41:44 | 2024-08-08 16:41:44 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
ios_base::sync_with_stdio(false);
ll k;
cin >> k;
for (ll a=5;a<k+5;a++){
cout << 4 << "\n";
cout << a << " " << 2*a-1 << "\n";
cout << 1 << " " << 0 << "\n";
cout << a+1 << " " << 2*a+1 << "\n";
cout << -(2*a+1) << " " << -(4*a) << "\n";
}
return 0;
}
这程序好像有点Bug,我给组数据试试?
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3640kb
input:
2
output:
4 5 9 1 0 6 11 -11 -20 4 6 11 1 0 7 13 -13 -24
result:
ok Everything ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
1
output:
4 5 9 1 0 6 11 -11 -20
result:
ok Everything ok
Test #3:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
1000
output:
4 5 9 1 0 6 11 -11 -20 4 6 11 1 0 7 13 -13 -24 4 7 13 1 0 8 15 -15 -28 4 8 15 1 0 9 17 -17 -32 4 9 17 1 0 10 19 -19 -36 4 10 19 1 0 11 21 -21 -40 4 11 21 1 0 12 23 -23 -44 4 12 23 1 0 13 25 -25 -48 4 13 25 1 0 14 27 -27 -52 4 14 27 1 0 15 29 -29 -56 4 15 29 1 0 16 31 -31 -60 4 16 31 1 0 17 33 -33 -6...
result:
ok Everything ok
Test #4:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
500
output:
4 5 9 1 0 6 11 -11 -20 4 6 11 1 0 7 13 -13 -24 4 7 13 1 0 8 15 -15 -28 4 8 15 1 0 9 17 -17 -32 4 9 17 1 0 10 19 -19 -36 4 10 19 1 0 11 21 -21 -40 4 11 21 1 0 12 23 -23 -44 4 12 23 1 0 13 25 -25 -48 4 13 25 1 0 14 27 -27 -52 4 14 27 1 0 15 29 -29 -56 4 15 29 1 0 16 31 -31 -60 4 16 31 1 0 17 33 -33 -6...
result:
ok Everything ok
Test #5:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
399
output:
4 5 9 1 0 6 11 -11 -20 4 6 11 1 0 7 13 -13 -24 4 7 13 1 0 8 15 -15 -28 4 8 15 1 0 9 17 -17 -32 4 9 17 1 0 10 19 -19 -36 4 10 19 1 0 11 21 -21 -40 4 11 21 1 0 12 23 -23 -44 4 12 23 1 0 13 25 -25 -48 4 13 25 1 0 14 27 -27 -52 4 14 27 1 0 15 29 -29 -56 4 15 29 1 0 16 31 -31 -60 4 16 31 1 0 17 33 -33 -6...
result:
ok Everything ok
Test #6:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
420
output:
4 5 9 1 0 6 11 -11 -20 4 6 11 1 0 7 13 -13 -24 4 7 13 1 0 8 15 -15 -28 4 8 15 1 0 9 17 -17 -32 4 9 17 1 0 10 19 -19 -36 4 10 19 1 0 11 21 -21 -40 4 11 21 1 0 12 23 -23 -44 4 12 23 1 0 13 25 -25 -48 4 13 25 1 0 14 27 -27 -52 4 14 27 1 0 15 29 -29 -56 4 15 29 1 0 16 31 -31 -60 4 16 31 1 0 17 33 -33 -6...
result:
ok Everything ok
Test #7:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
69
output:
4 5 9 1 0 6 11 -11 -20 4 6 11 1 0 7 13 -13 -24 4 7 13 1 0 8 15 -15 -28 4 8 15 1 0 9 17 -17 -32 4 9 17 1 0 10 19 -19 -36 4 10 19 1 0 11 21 -21 -40 4 11 21 1 0 12 23 -23 -44 4 12 23 1 0 13 25 -25 -48 4 13 25 1 0 14 27 -27 -52 4 14 27 1 0 15 29 -29 -56 4 15 29 1 0 16 31 -31 -60 4 16 31 1 0 17 33 -33 -6...
result:
ok Everything ok
Extra Test:
score: 0
Extra Test Passed