QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#404616#5533. Trickhyforces#0 39ms3664kbC++203.7kb2024-05-04 10:42:422024-05-04 10:42:43

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 39ms = 0ms + 39ms
memory: 0kb,3664kb

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:

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

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

input:

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

output:

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

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,3648kb

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

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

input:

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

output:

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

result:

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

Subtask #4:

score: 0
Skipped