QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540446#8934. Challenge NPCucup-team4410#AC ✓34ms7180kbC++2012.0kb2024-08-31 17:02:302024-08-31 17:02:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

score: 0
Accepted
time: 25ms
memory: 6704kb

input:

433

output:

868 187923 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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: 29ms
memory: 7152kb

input:

500

output:

1002 250501 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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: 34ms
memory: 7180kb

input:

499

output:

1000 249501 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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: 24ms
memory: 6640kb

input:

457

output:

916 209307 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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: 32ms
memory: 7156kb

input:

497

output:

996 247507 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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