QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#409883#7757. Palm Islanducup-team1849#WA 1ms5604kbC++201.4kb2024-05-12 20:53:292024-05-12 20:53:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1111
11112111

result:

ok Correct. (2 test cases)

Test #2:

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

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
12111111
11111111122
12112211121111
122111111121111
111111
11
12112111
1112111
11
1211
11111111122
111111
211
1111111111111
12112111
122112111
1111
11111111
2111211111111
112111
22112111
2111111
112111111
222111211121111
1111
111111111122111111111111
122112211111111
112111
11111111111111111111
11...

result:

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