Search found 2 matches

by amit_chauhan
Tue Apr 29, 2008 8:27 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 58475

Re: Problem 10070 leap year...

@Jan

Thanks a lots Bro I got accepted...........
by amit_chauhan
Mon Apr 28, 2008 1:09 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 58475

Re: Problem 10070 leap year...

Hi Friends i am getting run time error. Plz help me.......... Code #include<stdio.h> #include<string.h> int main() { char year[10000000]; int flag=0,i=0; int mod4,mod100,mod400,mod15,mod55; while (1) { if (fgets(year,sizeof(year),stdin)==NULL) break; mod4=mod100=mod400=mod15=mod55=0; if(flag==0) fla...

Go to advanced search