QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#515609#9175. Geometry Hackingucup-team045AC ✓16ms10892kbPython3136b2024-08-11 19:16:552024-08-11 19:17:02

Judging History

This is the latest submission verdict.

  • [2024-08-11 19:17:02]
  • Judged
  • Verdict: AC
  • Time: 16ms
  • Memory: 10892kb
  • [2024-08-11 19:16:55]
  • Submitted

answer

n = int(input())

for i in range(2, n + 2):
    print(4)
    print(i, 1)
    print(1, 0)
    print(i - 4, 1)
    print(3 - i, -1)

这程序好像有点Bug,我给组数据试试?

詳細信息

Test #1:

score: 100
Accepted
time: 16ms
memory: 10576kb

input:

2

output:

4
2 1
1 0
-2 1
1 -1
4
3 1
1 0
-1 1
0 -1

result:

ok Everything ok

Test #2:

score: 0
Accepted
time: 8ms
memory: 10636kb

input:

1

output:

4
2 1
1 0
-2 1
1 -1

result:

ok Everything ok

Test #3:

score: 0
Accepted
time: 13ms
memory: 10892kb

input:

1000

output:

4
2 1
1 0
-2 1
1 -1
4
3 1
1 0
-1 1
0 -1
4
4 1
1 0
0 1
-1 -1
4
5 1
1 0
1 1
-2 -1
4
6 1
1 0
2 1
-3 -1
4
7 1
1 0
3 1
-4 -1
4
8 1
1 0
4 1
-5 -1
4
9 1
1 0
5 1
-6 -1
4
10 1
1 0
6 1
-7 -1
4
11 1
1 0
7 1
-8 -1
4
12 1
1 0
8 1
-9 -1
4
13 1
1 0
9 1
-10 -1
4
14 1
1 0
10 1
-11 -1
4
15 1
1 0
11 1
-12 -1
4
16 1
1 ...

result:

ok Everything ok

Test #4:

score: 0
Accepted
time: 16ms
memory: 10828kb

input:

500

output:

4
2 1
1 0
-2 1
1 -1
4
3 1
1 0
-1 1
0 -1
4
4 1
1 0
0 1
-1 -1
4
5 1
1 0
1 1
-2 -1
4
6 1
1 0
2 1
-3 -1
4
7 1
1 0
3 1
-4 -1
4
8 1
1 0
4 1
-5 -1
4
9 1
1 0
5 1
-6 -1
4
10 1
1 0
6 1
-7 -1
4
11 1
1 0
7 1
-8 -1
4
12 1
1 0
8 1
-9 -1
4
13 1
1 0
9 1
-10 -1
4
14 1
1 0
10 1
-11 -1
4
15 1
1 0
11 1
-12 -1
4
16 1
1 ...

result:

ok Everything ok

Test #5:

score: 0
Accepted
time: 16ms
memory: 10832kb

input:

399

output:

4
2 1
1 0
-2 1
1 -1
4
3 1
1 0
-1 1
0 -1
4
4 1
1 0
0 1
-1 -1
4
5 1
1 0
1 1
-2 -1
4
6 1
1 0
2 1
-3 -1
4
7 1
1 0
3 1
-4 -1
4
8 1
1 0
4 1
-5 -1
4
9 1
1 0
5 1
-6 -1
4
10 1
1 0
6 1
-7 -1
4
11 1
1 0
7 1
-8 -1
4
12 1
1 0
8 1
-9 -1
4
13 1
1 0
9 1
-10 -1
4
14 1
1 0
10 1
-11 -1
4
15 1
1 0
11 1
-12 -1
4
16 1
1 ...

result:

ok Everything ok

Test #6:

score: 0
Accepted
time: 16ms
memory: 10796kb

input:

420

output:

4
2 1
1 0
-2 1
1 -1
4
3 1
1 0
-1 1
0 -1
4
4 1
1 0
0 1
-1 -1
4
5 1
1 0
1 1
-2 -1
4
6 1
1 0
2 1
-3 -1
4
7 1
1 0
3 1
-4 -1
4
8 1
1 0
4 1
-5 -1
4
9 1
1 0
5 1
-6 -1
4
10 1
1 0
6 1
-7 -1
4
11 1
1 0
7 1
-8 -1
4
12 1
1 0
8 1
-9 -1
4
13 1
1 0
9 1
-10 -1
4
14 1
1 0
10 1
-11 -1
4
15 1
1 0
11 1
-12 -1
4
16 1
1 ...

result:

ok Everything ok

Test #7:

score: 0
Accepted
time: 12ms
memory: 10716kb

input:

69

output:

4
2 1
1 0
-2 1
1 -1
4
3 1
1 0
-1 1
0 -1
4
4 1
1 0
0 1
-1 -1
4
5 1
1 0
1 1
-2 -1
4
6 1
1 0
2 1
-3 -1
4
7 1
1 0
3 1
-4 -1
4
8 1
1 0
4 1
-5 -1
4
9 1
1 0
5 1
-6 -1
4
10 1
1 0
6 1
-7 -1
4
11 1
1 0
7 1
-8 -1
4
12 1
1 0
8 1
-9 -1
4
13 1
1 0
9 1
-10 -1
4
14 1
1 0
10 1
-11 -1
4
15 1
1 0
11 1
-12 -1
4
16 1
1 ...

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed