This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
Idiot-Code-Golf/leap-year
Moritz Poldrack fae7d4b32b
add problem READMEs
2021-04-14 22:32:53 +02:00
..
leap.js did you know that ternary operations do not impact legibility at all? 2021-04-14 09:51:40 +02:00
ly.c did you know that ternary operations do not impact legibility at all? 2021-04-14 09:51:40 +02:00
README.md add problem READMEs 2021-04-14 22:32:53 +02:00

Leap year

Pretty much a testament to how fucked up our calendar system is. Every year that is divisible by 4 is a leap year. Except when it is also divisible by 100, then it's not. Unless it is also divisible by 400; then it is a leap year. Makes perfect sense, right?