QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#510723#5199. Amazing TrickZhangYiDeWA 0ms3796kbC++202.0kb2024-08-09 11:35:562024-08-09 11:35:57

详细

Test #1:

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

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 5 1 2 
5 2 3 1 4 

result:

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