Title |
User |
Message |
Date Posted |
Re: Instruction |
Alex |
Assume that it becomes a zero. |
Feb 19, 2012 - 5:21:40 am UTC |
Instruction |
Thinkdifferent |
If the number is divisible by 6 the first digit is deleted. Assuming the number at this point is 6 itself, there would be no number left. What happens at this point? |
Feb 19, 2012 - 3:07:32 am UTC |
Re: Re: Differences in GCC and MinGW |
HelloMelloC |
Only it works fine on MinGW, WinXP 32bit. I tried it with Judge test data from my Pascal account... |
Oct 23, 2011 - 10:41:39 pm UTC |
Re: Differences in GCC and MinGW |
Daniel |
It is not a compiler issue. The problem lies in your code. |
Oct 23, 2011 - 9:39:28 pm UTC |
Differences in GCC and MinGW |
HelloMelloC |
Compiled and ran fine with test data on my home computer. Gives WA here. I know there are some differences between GCC and MinGW (such as 'count' being a reserved word in GCC) but I can't seem to fin... |
Oct 23, 2011 - 7:54:52 pm UTC |
Re: I'm lost |
hansonw1 |
Look at the error - it's SIGFPE. If you look in the help section, you'll find that it means you're improperly using a math function... there's only one possibility in your code. It should be fairly cl... |
May 18, 2009 - 4:03:59 pm UTC |
I'm lost |
ragulan5 |
Why am I getting runtime error? I compiled it and ran it on my computer and it worked fine. |
May 18, 2009 - 3:36:51 pm UTC |