QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#512911#9175. Geometry Hackingucup-team138#AC ✓1ms3952kbC++14251b2024-08-10 16:15:522024-08-10 16:15:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3756kb

input:

2

output:

4
-1 1
0 -1
1 0
4 -1
4
-2 1
1 -1
1 0
5 -1

result:

ok Everything ok

Test #2:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

1

output:

4
-1 1
0 -1
1 0
4 -1

result:

ok Everything ok

Test #3:

score: 0
Accepted
time: 1ms
memory: 3880kb

input:

1000

output:

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

result:

ok Everything ok

Test #4:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

500

output:

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

result:

ok Everything ok

Test #5:

score: 0
Accepted
time: 0ms
memory: 3952kb

input:

399

output:

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

result:

ok Everything ok

Test #6:

score: 0
Accepted
time: 0ms
memory: 3948kb

input:

420

output:

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

result:

ok Everything ok

Test #7:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

69

output:

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

result:

ok Everything ok

Extra Test:

score: 0
Extra Test Passed