The test cases are too trivial. E.g. 2000 was a leap year, but 1900 or 1800 was not... (At least after the Gregorian calendar reform)
The test cases are to trivial. ;-)
more tests needed
Nice & simple - I like it!
512 Solvers
Sum of diagonal of a square matrix
1340 Solvers
338 Solvers
347 Solvers
516 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!