Showing posts with label Math. Show all posts
Showing posts with label Math. Show all posts
Thursday, May 2, 2013
Tuesday, April 23, 2013
Sunday, April 21, 2013
10070 - Leap Year or Not Leap Year and ...
Used divisibility rules instead of looping with taking the mod.
For 400, test for divisibility by 100 and then test for divisibility by 4 (summing digits 3 & 4*(10))
Check for test cases on the web.
Subscribe to:
Posts (Atom)