Page 2 of 2

Re: 10220 - I Love Big Numbers !

Posted: Wed Oct 30, 2013 4:42 pm
by triplemzim
It is so annoying...why this is like it????

int this problem: 10220 (I love big integers) it gives WA when i was using...

Code: Select all

while(scanf("%d",&n)==1)
{
,,,
}
but it is AC when i changed it to scan until EOF. Be careful about that...

Re: 10220 - I Love Big Numbers !

Posted: Thu Oct 31, 2013 10:35 pm
by brianfry713
I got AC using

Code: Select all

while(scanf("%d",&n)==1)
{
,,,
}

Re: 10220 - I Love Big Numbers !

Posted: Tue Apr 08, 2014 7:55 am
by uDebug
Replying to follow the thread.

Re: 10220 - I Love Big Numbers !

Posted: Sun Aug 24, 2014 7:37 pm
by Rika71
10220 - I Love Big Numbers ! for this problem the data set of the judge doesnt have 0 (zero);My code outputs 0 for 0,(it should be 1),though i got ac :o