QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#542861#8934. Challenge NPCucup-team639#AC ✓17ms3616kbC++171.2kb2024-09-01 06:34:392024-09-01 06:34:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

16 56 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2
1 4
2 3
1 6
2 5
1 8
2 7
1 10
2 9
1 12
2 11
1 14
2 13
1 16
2 15
3 6
4 5
3 8
4 7
3 10
4 9
3 12
4 11
3 14
4 13
3 16
4 15
5 8
6 7
5 10
6 9
5 12
6 11
5 14
6 13
5 16
6 15
7 10
8 9
7 12
8 11
7 14
8 13
7 16
8 15
9 12
10 11
9 14
10 13
9 16
10 15
11 14
12 13
11 16
12 15...

result:

ok ok

Test #6:

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

input:

433

output:

872 189660 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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: 10ms
memory: 3500kb

input:

500

output:

1004 251502 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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: 17ms
memory: 3556kb

input:

499

output:

1004 251502 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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: 14ms
memory: 3500kb

input:

457

output:

920 211140 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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: 8ms
memory: 3568kb

input:

497

output:

1000 249500 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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