深入了解可以用来解决闰年问题的各种算法和方法,Jeremy 和 Erik 会在 Exercism 上探索 10 种不同语言中有趣的社区解答。
A leap year (in the Gregorian calendar) occurs:
Some examples:
For a delightful, four-minute explanation of the whole phenomenon of leap years, check out this YouTube video.
Your task is to determine whether a given year is a leap year.
你还没有在任何语言中完成过它。