QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#545219#8934. Challenge NPCucup-team1955#AC ✓21ms5456kbC++14730b2024-09-03 01:55:152024-09-03 01:55:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

7 9 2
2 1 2 1 2 1 2 
2 3
1 4
4 5
2 5
3 6
1 6
6 7
4 7
2 7

result:

ok ok

Test #3:

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

input:

3

output:

9 16 2
2 1 2 1 2 1 2 1 2 
2 3
1 4
4 5
2 5
3 6
1 6
6 7
4 7
2 7
5 8
3 8
1 8
8 9
6 9
4 9
2 9

result:

ok ok

Test #4:

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

input:

4

output:

11 25 2
2 1 2 1 2 1 2 1 2 1 2 
2 3
1 4
4 5
2 5
3 6
1 6
6 7
4 7
2 7
5 8
3 8
1 8
8 9
6 9
4 9
2 9
7 10
5 10
3 10
1 10
10 11
8 11
6 11
4 11
2 11

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

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

input:

433

output:

869 188356 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1...

result:

ok ok

Test #7:

score: 0
Accepted
time: 17ms
memory: 5392kb

input:

500

output:

1003 251001 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 ...

result:

ok ok

Test #8:

score: 0
Accepted
time: 21ms
memory: 5456kb

input:

499

output:

1001 250000 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 ...

result:

ok ok

Test #9:

score: 0
Accepted
time: 17ms
memory: 5392kb

input:

457

output:

917 209764 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1...

result:

ok ok

Test #10:

score: 0
Accepted
time: 20ms
memory: 5296kb

input:

497

output:

997 248004 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1...

result:

ok ok

Extra Test:

score: 0
Extra Test Passed