QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#625393#7757. Palm Islanducup-team1138#WA 1ms7912kbC++201.9kb2024-10-09 19:01:182024-10-09 19:01:19

详细

Test #1:

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

input:

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

output:

1111
112211221

result:

ok Correct. (2 test cases)

Test #2:

score: 0
Accepted
time: 1ms
memory: 7880kb

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:

11
1211
111211
111221112121
111221112221
111111
11
111221
12211221
11
21
111211
121
1121
11111111
111221
2211211
1111
1111
1111221112211
2211221
1112211211
211
11211
111122111222111221
1111
1222111211
1111221
2211221
12221
121
2211211
1121
111221112211
221112111
1112221122111222111221
1121
111211
11...

result:

ok Correct. (200 test cases)

Test #3:

score: 0
Accepted
time: 0ms
memory: 7712kb

input:

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

output:

1222111211
122111221
221112121
11122211221112221
111122211221112111
1122111222111211
1112221122111222111211
1111221112121
111222111211
122111211
1121
1222111221
122211221112111
11122211221112111
11111
1221112121
111122111222111211
1122111222111211
12221122111222111221
11122211221112111
111222111221
...

result:

ok Correct. (200 test cases)

Test #4:

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

input:

100
5
1 2 5 4 3
2 4 5 3 1
6
6 1 5 2 4 3
1 4 5 6 2 3
3
2 1 3
1 2 3
5
5 3 4 2 1
1 2 3 5 4
10
5 9 4 2 6 10 7 8 3 1
1 3 4 10 5 7 2 9 8 6
10
5 9 10 7 8 3 4 6 2 1
2 7 4 3 10 9 5 8 1 6
8
1 7 4 6 3 5 2 8
3 5 1 4 6 8 7 2
4
2 3 4 1
1 4 2 3
7
3 7 4 6 2 1 5
5 6 7 3 4 1 2
8
2 1 4 7 8 3 6 5
5 2 7 4 3 1 8 6
4
3 2 ...

output:

112111
1122111122221111221
1121
22211221112221
222222221122222221112222221111222221111122221111112221111111221111111122222211111222211111122211111112211111111222111111112222221111122221111112221111111221111111122211111111222111111112111
111111111222211111122211111112211111111222222211112222211111222...

result:

wrong answer On Case#5: The lenght of your output is 189(exceed n*n = 100). (test case 5)