QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#404618#5533. Trickhyforces#0 31ms3700kbC++203.7kb2024-05-04 10:43:212024-05-04 10:43:22

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 31ms = 0ms + 31ms
memory: 0kb,3700kb

input:

12012
1
6
0 1 2 3 4 5
6
0 1 2 3 4 5
6
0 1 2 3 4 5
6
0 1 2 3 4 5
6
0 1 2 3 4 5
6
0 1 2 3 4 5
6
0 1 2 3 4 5
6
0 1 2 3 4 6
6
0 1 2 3 4 6
6
0 1 2 3 4 6
6
0 1 2 3 4 6
6
0 1 2 3 4 6
6
0 1 2 3 4 6
6
0 1 2 3 4 6
6
0 1 2 3 5 6
6
0 1 2 3 5 6
6
0 1 2 3 5 6
6
0 1 2 3 5 6
6
0 1 2 3 5 6
6
0 1 2 3 5 6
6
0 1 2 3 5 ...

output:

0 3
2 4
2 5
0 3
1 4
3 5
1 4
1 3
0 3
2 6
3 6
2 3
2 3
4 6
2 6
2 0
0 5
0 6
0 5
0 6
0 2
0 2
0 6
1 4
0 6
1 5
0 4
4 6
5 6
1 4
0 1
0 5
0 1
0 4
1 3
2 5
0 6
4 6
0 6
2 3
0 6
2 3
2 4
1 3
5 6
2 3
1 5
3 4
2 3
0 4
0 3
2 7
1 7
2 3
3 4
3 7
2 3
5 3
0 2
7 1
3 7
1 7
0 5
1 2
4 7
0 5
5 7
2 5
1 7
1 5
1 4
0 5
4 5
0 5
0 3
...

input:

12012
2
6
7 8 9 10 11 12
6
6 8 9 10 11 12
6
6 7 9 10 11 12
6
6 7 8 10 11 12
6
6 7 8 9 11 12
6
6 7 8 9 10 12
6
6 7 8 9 10 11
6
7 8 9 10 11 12
6
5 8 9 10 11 12
6
5 7 9 10 11 12
6
5 7 8 10 11 12
6
5 7 8 9 11 12
6
5 7 8 9 10 12
6
5 7 8 9 10 11
6
7 8 9 10 11 12
6
4 8 9 10 11 12
6
4 7 9 10 11 12
6
4 7 8 1...

output:

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

input:

12012
3
6
0 3 8 12
6
2 4 9 12
6
2 5 10 12
6
0 3 6 11
6
1 4 8 6
6
3 5 6 9
6
1 4 6 10
6
1 3 7 8
6
0 3 10 12
6
2 6 7 12
6
3 6 5 12
6
2 3 8 9
6
2 3 5 8
6
4 6 8 11
6
2 6 9 11
6
2 0 4 12
6
0 5 4 7
6
0 6 8 11
6
0 5 7 11
6
0 6 7 8
6
0 2 8 10
6
0 2 9 10
6
0 6 3 9
6
1 4 7 12
6
0 6 3 10
6
1 5 9 11
6
0 4 3 12
6...

output:

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

result:

wrong answer the card you returned is 8, but expected 6 (test case 1)

Subtask #2:

score: 0
Skipped

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 26ms = 0ms + 26ms
memory: 0kb,3684kb

input:

6525
1
6
10 1 11 3 12 6
6
1 7 10 12 5 6
6
0 10 12 7 9 8
6
12 1 8 4 7 11
6
11 8 9 4 10 6
6
0 7 2 3 4 5
6
0 8 3 10 11 6
6
0 1 2 4 7 6
6
0 1 11 9 5 6
6
7 1 12 8 6 5
7
0 1 13 10 12 5 6
7
0 14 2 3 4 12 6
7
11 1 3 8 12 6 13
7
0 1 2 3 13 5 14
7
11 9 10 8 4 14 7
7
0 8 14 3 4 13 11
7
0 10 2 14 8 5 6
7
0 13 2...

output:

6 11
1 10
10 12
7 8
4 11
0 2
6 10
2 7
0 11
6 7
1 13
0 6
11 12
0 2
9 11
0 3
0 5
13 0
6 13
1 5
13 15
16 7
0 4
16 12
2 15
1 13
0 5
4 5
9 12
7 9
6 12
3 16
0 11
4 9
4 18
10 17
0 15
0 4
12 18
1 8
3 14
1 4
14 15
2 10
3 11
0 16
1 6
7 12
4 10
11 15
0 21
2 20
6 21
1 18
4 16
0 16
2 3
0 8
5 16
7 16
15 20
0 22
3...

input:

6525
2
6
0 2 4 5 8 9
6
2 3 4 8 9 11
6
1 2 3 4 5 11
6
0 3 5 6 9 10
6
0 1 3 5 7 12
6
1 6 8 10 11 12
6
2 4 5 7 9 12
6
5 8 9 10 11 12
6
3 4 7 8 10 12
6
0 2 3 4 9 11
7
2 3 4 7 8 9 11
7
1 5 7 8 9 10 13
7
0 4 5 7 9 10 14
7
4 6 7 8 9 10 11
7
0 1 2 3 5 6 13
7
1 2 5 7 9 10 12
7
1 3 4 9 11 12 13
7
1 3 4 6 10 1...

output:

2 5
4 11
3 5
9 10
1 12
1 10
9 7
8 11
3 10
9 0
4 7
13 8
7 10
6 11
0 1
1 7
1 12
1 12
4 9
6 11
4 9
0 9
5 10
1 9
3 10
5 14
13 16
2 6
0 13
8 11
1 9
2 15
4 18
1 2
1 9
0 15
8 14
9 16
1 15
4 11
1 10
6 7
0 4
17 20
0 13
5 14
4 16
3 14
2 11
1 7
1 22
1 21
0 12
0 13
7 11
1 2
4 21
3 17
0 9
0 13
1 14
7 16
8 22
2 6...

input:

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

output:

12
0
4
8
12
2
5
0
5
0
6
6
11
14
2
9
3
7
1
0
5
14
16
14
11
1
6
10
1
16
14
18
1
9
16
3
5
6
12
8
6
18
10
17
14
10
0
15
3
16
5
18
11
5
11
16
19
3
9
7
9
14
17
16
2
14
2
18
15
22
15
17
6
4
0
21
11
22
5
21
9
21
0
10
10
18
14
17
18
11
9
11
4
16
17
11
11
13
9
9
5
3
2
19
5
14
21
20
20
10
8
18
5
22
20
22
7
18
...

result:

wrong answer the card you returned is 12, but expected 7 (test case 1)

Subtask #4:

score: 0
Skipped