QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#104531#5199. Amazing TricknanikaWA 2ms8100kbC++171.4kb2023-05-10 22:58:392023-05-10 22:58:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 8100kb

input:

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

output:

Impossible
Possible
3 1 2 
2 3 1 
Possible
3 2 1 4 
2 3 4 1 
Possible
4 3 1 5 2 
5 1 4 2 3 

result:

wrong answer Permutation has fixed point: 2 (test case 3)