QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#409880#7757. Palm Islanducup-team1849#WA 1ms5532kbC++201.4kb2024-05-12 20:47:172024-05-12 20:47:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1111111
111121111111

result:

ok Correct. (2 test cases)

Test #2:

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

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
121111111111
11111121111
1211221112111111111
12211111112111111111
1111111111
11111
121121111111
11121111111
11111
1211111
11111121111
1112111
211111
111111111111111111
121121111111
1221121111111
1111111
111111111111
211121111111111111
1121111111
221121111111
21111111111
1121111111111
222111211...

result:

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