custom test case id wrong but solution accepted

PERMUT2
for this problem
5
2 1 3 5 4
this test case doesn’t give an output and gives SIGABRT error
I also tried which other code that too fails to give output for the above test case.
Please answer me.