QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#611741#8837. Increasing IncomeGuanYunchangWA 4ms9772kbC++204.2kb2024-10-04 22:28:402024-10-04 22:28:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 9716kb

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 9772kb

input:

153
4
2 4 3 1
4
1 4 2 3
5
2 1 4 5 3
5
1 4 5 3 2
4
1 3 2 4
5
1 5 2 4 3
5
5 3 1 2 4
5
4 1 2 5 3
5
1 2 5 3 4
5
3 1 4 2 5
5
5 4 2 3 1
5
2 1 5 4 3
5
3 4 1 5 2
5
1 4 3 5 2
5
5 1 3 4 2
5
5 3 2 4 1
5
1 5 3 2 4
5
2 4 3 1 5
5
1 5 4 3 2
5
1 2 4 5 3
5
4 2 5 3 1
5
1 3 5 2 4
5
3 1 4 5 2
3
2 1 3
5
1 2 4 3 5
5
5 1 ...

output:

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

result:

wrong answer Participant didn't find permutation (test case 4)