10220 - I Love Big Numbers !

All about problems in Volume 102. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

triplemzim
New poster
Posts: 48
Joined: Sat Apr 06, 2013 6:02 pm

Re: 10220 - I Love Big Numbers !

Post 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...
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10220 - I Love Big Numbers !

Post by brianfry713 »

I got AC using

Code: Select all

while(scanf("%d",&n)==1)
{
,,,
}
Check input and AC output for thousands of problems on uDebug!
uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: 10220 - I Love Big Numbers !

Post by uDebug »

Replying to follow the thread.
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.
Rika71
New poster
Posts: 11
Joined: Sat Apr 26, 2014 9:42 pm

Re: 10220 - I Love Big Numbers !

Post 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
Post Reply

Return to “Volume 102 (10200-10299)”