QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540966#8934. Challenge NPCucup-team4851#AC ✓20ms5416kbC++141.4kb2024-08-31 18:13:442024-08-31 18:13:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

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

input:

433

output:

868 187923 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: 20ms
memory: 5252kb

input:

500

output:

1002 250501 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: 19ms
memory: 5232kb

input:

499

output:

1000 249501 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: 12ms
memory: 5416kb

input:

457

output:

916 209307 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: 5228kb

input:

497

output:

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