1 testcase failing

and why using
unsigned long int n;
giving runtime error?

but unsigned int n works.