We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prime Dates
- Discussions
Prime Dates
Prime Dates
Sort by
recency
|
76 Discussions
|
Please Login in order to post a comment
Line 6: from month[2] = 28 to month[2] = 29
Line 8: from month[2] = 29 to month[2] = 28 Line 35: from x = x * 1000 + y1 to x = x * 10000 + y1 Line 36: from if x % 4 == 0 and x % 7 == 0: to if x % 4 == 0 or x % 7 == 0: Line 47: from m1 = m1 + 1 to m1 = 1Line 32: from month[2] = 28; to month[2] = 29;
Line 34: from month[2] = 29; to month[2] = 28; Line 65: from x = x * 1000 + y1; to x = x * 10000 + y1; Line 66: from if(x % 4 == 0 && x % 7 == 0){ to if(x % 4 == 0 || x % 7 == 0){ Line 79: from m1 = m1 + 1; to m1 = 1;It doesn't work for Javascript although I returned the same result as hard coded
... changed 4 lines...
Your output : 5
expected output: 5
FAIL.
WTF
Be careful with the Python3 version, if you remove the linting errors (extra space, unnecessary semicolon) those count against the 5 lines you are allowed to change and your correct answer will be marked incorrect