QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#556537#7757. Palm IslandZhaoZiLongWA 1ms3792kbC++231.3kb2024-09-10 19:13:472024-09-10 19:13:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3792kb

input:

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

output:

1111
21111111

result:

ok Correct. (2 test cases)

Test #2:

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

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:

11111
21212121
221111111
2221121221211111
221212212111111
111111
11111
1212121111
221111
11111
21111
221111111
2111
211111
11111111
1212121111
22121212111
1111
1111
2112122121111
12121211
2212121211
2111111
121212111
2221221211211
1111
2121221211
12212112111
12121211
211111
2111
22121212111
211111
2...

result:

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