QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#539243#8934. Challenge NPCucup-team4752#AC ✓17ms5420kbC++14670b2024-08-31 14:20:362024-08-31 14:20:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

score: 0
Accepted
time: 11ms
memory: 5420kb

input:

433

output:

870 188790 2
1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1...

result:

ok ok

Test #7:

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

input:

500

output:

1004 251502 2
1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 ...

result:

ok ok

Test #8:

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

input:

499

output:

1002 250500 2
1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 ...

result:

ok ok

Test #9:

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

input:

457

output:

918 210222 2
1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1...

result:

ok ok

Test #10:

score: 0
Accepted
time: 15ms
memory: 5256kb

input:

497

output:

998 248502 2
1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1 1 2 2 1...

result:

ok ok

Extra Test:

score: 0
Extra Test Passed