QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540380#8934. Challenge NPCucup-team4695#AC ✓23ms5356kbC++14711b2024-08-31 16:57:412024-08-31 16:57:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

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

result:

ok ok

Test #2:

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

input:

2

output:

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

result:

ok ok

Test #3:

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

input:

3

output:

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

result:

ok ok

Test #4:

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

input:

4

output:

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

result:

ok ok

Test #5:

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

input:

5

output:

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

result:

ok ok

Test #6:

score: 0
Accepted
time: 21ms
memory: 5356kb

input:

433

output:

870 188791 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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: 23ms
memory: 5356kb

input:

500

output:

1004 251503 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 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: 19ms
memory: 5244kb

input:

499

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 #9:

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

input:

457

output:

918 210223 2
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 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: 19ms
memory: 5288kb

input:

497

output:

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