Hi, could someone help me debug SIGSEGV error for PALIN?
spoj.com/problems/PALIN/
My solution is here ideone.com/6qo5Vi
It works for all numbers that is not a palindrome, if palindrome it prints the same, that part i need to still fix. But if i submit this soln, i get SIGSEGV. If I get WA, I would understand.
Tried with gdb and few big inputs, it always executed without error.
Could someone please point me to the error? OR the test case that would cause SIGSEGV?
Thanks,