QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#510735#5199. Amazing TrickMaMengQiWA 0ms3788kbC++202.3kb2024-08-09 11:48:532024-08-09 11:48:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3788kb

input:

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

output:

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

result:

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