QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#628634#7757. Palm Islanducup-team2513#WA 1ms3980kbC++171.6kb2024-10-10 21:22:132024-10-10 21:22:13

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3980kb

input:

2
3
1 2 3
2 3 1
4
1 2 3 4
2 1 3 4

output:

1111
2122212221

result:

ok Correct. (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3676kb

input:

200
3
3 1 2
2 3 1
4
2 4 1 3
2 1 4 3
4
1 4 2 3
2 1 3 4
5
4 3 2 1 5
2 4 5 3 1
5
2 1 5 4 3
5 2 4 1 3
4
4 3 1 2
1 2 4 3
3
1 2 3
3 1 2
4
1 4 2 3
2 1 4 3
4
1 3 2 4
1 4 3 2
3
3 2 1
1 3 2
3
2 3 1
1 3 2
4
1 4 3 2
3 1 2 4
3
1 2 3
1 3 2
3
3 2 1
2 3 1
5
5 1 3 2 4
2 4 5 1 3
4
4 3 1 2
1 4 3 2
4
1 3 4 2
2 4 3 1
3
...

output:

221221
21212111
22122212221
221122211222122221
221222211222122221
111111
221221
22112212221
221111
221221
121221
22122212221
2111
21221
11111111
22112212221
112112212221
1111
1111
1221222212222122221
112122212221
12112212221
122122212221
121212111
1221112211222122221
1111
2121221211
11121121111
1121...

result:

wrong answer On Case#2: After your operations, a[2] = 4 but a[2] = 1. (test case 2)