QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#404622#5533. Trickhyforces#0 32ms3732kbC++203.6kb2024-05-04 10:44:562024-05-04 10:44:58

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 32ms = 0ms + 32ms
memory: 0kb,3732kb

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 4
2 5
1 3
0 2
0 3
2 3
1 3
1 0
3 4
3 6
2 3
1 3
0 6
0 3
5 1
3 6
1 3
2 5
2 3
0 1
0 3
0 1
2 5
0 4
6 4
0 5
0 5
1 5
0 1
1 4
1 5
0 4
0 4
0 1
4 6
3 4
3 4
4 6
2 6
2 5
2 6
0 2
3 4
4 5
4 5
1 3
1 5
2 4
1 5
0 4
1 3
0 4
0 4
0 1
1 7
0 1
0 2
0 3
0 2
5 7
3 5
2 5
0 3
0 4
0 5
5 7
0 7
1 5
0 2
4 2
1 5
3 4
1 5
5 7
4 5
...

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:

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

input:

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

output:

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

result:

wrong answer the card you returned is 0, 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,3608kb

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:

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

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 9
2 5
3 10
3 5
6 12
7 12
5 12
8 10
4 9
2 8
9 10
7 9
10 7
0 5
5 12
11 13
4 12
4 10
7 11
2 3
10 13
2 5
14 1
5 11
0 5
2 12
2 3
0 5
3 15
0 7
15 18
1 18
0 16
3 11
0 11
3 9
8 9
4 13
5 9
1 17
5 8
0 17
9 20
0 4
2 3
4 8
6 17
15 19
0 18
1 17
6 10
1 13
2 17
10 13
2 13
6 10
2 6
0 9
0 1
0 1
1 9
2 20
2 17
4...

input:

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

output:

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

result:

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

Subtask #4:

score: 0
Skipped