(Original post) [Fundamental Information Technology Engineer Examination] I wrote an algorithm for determining leap years in Python. https://qiita.com/kuro_take/items/525c5e31268f22c08fcf
Is 2014 a leap year?
https://ja.wolframalpha.com/input/?i=2014%E5%B9%B4%E3%81%AF%E3%81%86%E3%82%8B%E3%81%86%E5%B9%B4%E3%81%8B+
Input interpretation:
Was 2014 a leap year??
result:
No. 2014 was not a leap year
(Only the following results)
No. 2015 was not a leap year
No. 2200 is not a leap year
Yes. 2400 is a leap year
Is 2014 a leap year? https://www.google.com/search?hl=ja&sxsrf=ALeKk01FtAR4-4wQoWvn1p1XWwVHS_xtYQ%3A1603150213052&source=hp&ei=hSGOX5ifAc7XhwOe7JGgDw&q=2014%E5%B9%B4%E3%81%AF%E3%81%86%E3%82%8B%E3%81%86%E5%B9%B4%E3%81%8B+&oq=2014%E5%B9%B4%E3%81%AF%E3%81%86%E3%82%8B%E3%81%86%E5%B9%B4%E3%81%8B+&gs_lcp=CgZwc3ktYWIQAzoHCCMQ6gIQJ1CUD1iUD2CjFWgBcAB4AIABbogBbpIBAzAuMZgBAKABAqABAaoBB2d3cy13aXqwAQo&sclient=psy-ab&ved=0ahUKEwjY9d_358HsAhXO62EKHR52BPQQ4dUDCAk&uact=5 2014=2008.497
(reference) Computer system and leap year <leap year (wikipedia) https://ja.m.wikipedia.org/wiki/%E9%96%8F%E5%B9%B4#コンピュータシステムと閏年 leap year https://ja.wolframalpha.com/input/?i=%E3%81%86%E3%82%8B%E3%81%86%E5%B9%B4 leap year https://ja.wolframalpha.com/input/?i=leap+year leap leap (from google translate) intercalary leap (from google translate)
Recommended Posts