Hello, I am trying to solve this problem on SPOJ. However, the judge is returning “runtime error (SIGABRT)”.
Can someone please tell me what’s wrong with my code? Thanks.
This is the problem: http://www.spoj.com/problems/GNY07D/
Here is my code: (It’s removed now)