10070 - Leap Year or Not Leap Year and ...

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

Moderator: Board moderators

10070 - Leap Year or Not Leap Year and ...

Postby @ce » Fri Jun 15, 2012 2:12 pm

Getting WA...plz help me find the error in my code:-
Code: Select all
Code removed after AC
Last edited by @ce on Mon Jun 25, 2012 10:02 am, edited 2 times in total.
-@ce
User avatar
@ce
Learning poster
 
Posts: 66
Joined: Mon May 28, 2012 8:46 am
Location: Ranchi, India

Re: 10070 - Leap Year or Not Leap Year and ...

Postby brianfry713 » Fri Jun 15, 2012 9:06 pm

A line may be longer than 1000 digits. My AC code assumes a line can be 1000000 digits long.
brianfry713
Guru
 
Posts: 1861
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10070 - Leap Year or Not Leap Year and ...

Postby @ce » Fri Jun 15, 2012 9:47 pm

yeah..thanks a lot brianfry for pointing out....i got AC :)
-@ce
User avatar
@ce
Learning poster
 
Posts: 66
Joined: Mon May 28, 2012 8:46 am
Location: Ranchi, India


Return to Volume C

Who is online

Users browsing this forum: No registered users and 1 guest