QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540513#8934. Challenge NPCucup-team4812#AC ✓11ms5296kbC++172.9kb2024-08-31 17:12:292024-08-31 17:12:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

score: 0
Accepted
time: 6ms
memory: 5188kb

input:

433

output:

870 188790 2
1 2 2 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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 #7:

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

input:

500

output:

1004 251502 2
1 2 2 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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 #8:

score: 0
Accepted
time: 7ms
memory: 5148kb

input:

499

output:

1002 250500 2
1 2 2 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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 #9:

score: 0
Accepted
time: 3ms
memory: 5288kb

input:

457

output:

918 210222 2
1 2 2 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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 #10:

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

input:

497

output:

998 248502 2
1 2 2 1 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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

Extra Test:

score: 0
Extra Test Passed