QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#607743#8934. Challenge NPCucup-team3716#AC ✓84ms5468kbC++171.0kb2024-10-03 16:04:542024-10-03 16:04:54

详细

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

score: 0
Accepted
time: 35ms
memory: 5264kb

input:

433

output:

868 187923 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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 #7:

score: 0
Accepted
time: 84ms
memory: 5300kb

input:

500

output:

1002 250501 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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 #8:

score: 0
Accepted
time: 60ms
memory: 5332kb

input:

499

output:

1000 249501 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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 #9:

score: 0
Accepted
time: 63ms
memory: 5468kb

input:

457

output:

916 209307 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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 #10:

score: 0
Accepted
time: 71ms
memory: 5468kb

input:

497

output:

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