SPOJ.PERMUT1 problem
Slowly update on compiler