QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#612732#8934. Challenge NPCZhaoZiLongRE 1ms4432kbC++171.0kb2024-10-05 12:43:372024-10-05 12:43:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 4432kb

input:

1

output:

6 6 2
1 2 2 1 1 2 
1 2
3 4
2 5
3 5
4 6
1 6

result:

ok ok

Test #2:

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

input:

2

output:

8 12 2
1 2 2 1 1 2 2 1 
1 2
3 4
2 5
3 5
4 6
1 6
5 7
1 7
4 7
6 8
3 8
2 8

result:

ok ok

Test #3:

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

input:

3

output:

10 20 2
1 2 2 1 1 2 2 1 1 2 
1 2
3 4
2 5
3 5
4 6
1 6
5 7
1 7
4 7
6 8
3 8
2 8
7 9
2 9
6 9
3 9
8 10
4 10
5 10
1 10

result:

ok ok

Test #4:

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

input:

4

output:

12 30 2
1 2 2 1 1 2 2 1 1 2 2 1 
1 2
3 4
2 5
3 5
4 6
1 6
5 7
1 7
4 7
6 8
3 8
2 8
7 9
2 9
6 9
3 9
8 10
4 10
5 10
1 10
9 11
5 11
1 11
8 11
4 11
10 12
6 12
3 12
7 12
2 12

result:

ok ok

Test #5:

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

input:

5

output:

14 42 2
1 2 2 1 1 2 2 1 1 2 2 1 1 2 
1 2
3 4
2 5
3 5
4 6
1 6
5 7
1 7
4 7
6 8
3 8
2 8
7 9
2 9
6 9
3 9
8 10
4 10
5 10
1 10
9 11
5 11
1 11
8 11
4 11
10 12
6 12
3 12
7 12
2 12
11 13
7 13
2 13
10 13
6 13
3 13
12 14
8 14
4 14
9 14
5 14
1 14

result:

ok ok

Test #6:

score: -100
Runtime Error

input:

433

output:


result: