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,

  • created

    May '14
  • last reply

    May '14
  • 1

    reply

  • 260

    views

  • 2

    users

  • 2

    links

I can't view ideone code. Can you post your code inline using code tags?

Suggested Topics

Topic Category Replies Views Activity
C and C++ 0 17 10d

Want to read more? Browse other topics in C and C++ or view latest topics.