Search found 3 matches

by Tarif
Thu Jul 10, 2008 12:49 pm
Forum: Volume 5 (500-599)
Topic: 591 - Box of Bricks
Replies: 80
Views: 11162

Re: acm-591 prob

I need a bit help in this. If the number of bricks in one line is more than 100, what would happen? Should we just ignore that input and go for the next one or we escape that set of inputs. please help!

by Tarif
Wed May 21, 2008 12:51 pm
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 21901

Re: 494 WA

I guess my algorithm is ok and it's showing the right result for all the test cases above. But I want to know exactly how long a line can be. If it's too long, then I should not depend upon arrays and follow some other approach! Please let me know!

by Tarif
Sat May 17, 2008 11:35 am
Forum: Volume 104 (10400-10499)
Topic: 10469 - To Carry or not to Carry
Replies: 24
Views: 10456

Re: 10469 - To Carry or not to Carry

I'm having WA for this problem but don't know why. My answers seem to be alright. I've used a^b for output and
while(scanf("%d %d", &a, &b);

what should i do?


Go to advanced search