QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#404628#5533. Trickhyforces#0 40ms3776kbC++204.2kb2024-05-04 10:48:162024-05-04 10:49:01

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 40ms = 0ms + 40ms
memory: 0kb,3776kb

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

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 9
11 9
12 10
6 12
7 11
6 8
6 9
7 8
8 10
5 10
12 11
7 12
7 8
7 9
8 10
8 11
7 9
8 11
11 12
4 12
8 9
11 8
9 10
7 11
10 11
11 12
9 12
9 11
7 8
9 10
2 12
10 11
9 11
2 12
2 7
9 10
9 12
9 11
1 11
1 9
10 12
7 10
7 10
9 10
11 12
0 12
8 11
9 10
9 11
12 11
5 11
9 12
5 11
11 12
5 8
8 11
6 11
4 8
10 12
4 6
11 ...

input:

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

output:

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

result:

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

Subtask #2:

score: 0
Skipped

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 29ms = 0ms + 29ms
memory: 0kb,3748kb

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:

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

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:

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

input:

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

output:

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

result:

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

Subtask #4:

score: 0
Skipped