Search found 2 matches
- Thu Oct 06, 2016 10:46 am
- Forum: Volume 100 (10000-10099)
- Topic: 10070 - Leap Year or Not Leap Year and ...
- Replies: 233
- Views: 77942
Re: 10070 - Leap Year or Not Leap Year and ...
I have gotten many many WAs. I have checked with almost all the inputs from uDebug and this forum and passed. But the judge think otherwise. I am unable to find any problem. Here is my code. Please help! #include <stdio.h> int y[1000000]; int main() { char c; register int l = 0, div11 = 0, div3 = 0;...
- Thu Oct 06, 2016 9:26 am
- Forum: Volume 118 (11800-11899)
- Topic: 11878 - Homework Checker
- Replies: 23
- Views: 15521
Re: 11878 - Homework Checker
Can a '-' be appeared between '=' and 'c'. If can how should i treat it ? As invalid input ? And should i print a new line after ans ? uDebug seems to treat "1-2=-1" as a correct ans & put a new line after that.