Search found 3 matches

by rtperson
Thu Jan 17, 2013 10:11 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 101941

Re: 10035 - Primary Arithmetic

Brianfry, thank you so much. I should have known it was that simple. Just got AC. Much obliged. I'll remove the code now.
by rtperson
Thu Jan 17, 2013 6:05 am
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 101941

Re: 10035 - Primary Arithmetic

Can someone suggest a test case that would show me why the following code is getting WA? I've tried all the test cases I can find, and it seems to work fine for them:

code removed after AC

I've tried the following test cases (from a previous post)

123 456
555 555

123 594
1234 5678910
12354 ...
by rtperson
Fri Aug 22, 2008 3:10 pm
Forum: Volume 101 (10100-10199)
Topic: 10196 - Check The Check
Replies: 77
Views: 35945

Re: 10196 - Check The Check

Hi Opu,

Hopefully you've figured this out by now, but the issue here is that getchar() when you set up your board. The judge ain't gonna hit return for you. :wink:

Also, I might have missed it, but I don't see how you're checking for an empty board. There's no guarantee that the empty board will ...

Go to advanced search