Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

考虑润年问题 #5

Open
TryBin03 opened this issue Dec 21, 2021 · 0 comments
Open

考虑润年问题 #5

TryBin03 opened this issue Dec 21, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@TryBin03
Copy link
Owner

普通年:能被4整除但不能被100整除的年份为普通闰年。(如2004年就是闰年,1999年不是闰年);
世纪年:能被400整除的为世纪闰年。(如2000年是闰年,1900年不是闰年);
对于数值很大的年份:年数除以3200,余数为1,那么这一年不是闰年;年数除以172800,余数为1,则为闰年。(如公元前172801年是闰年,前864001年不是闰年)

@TryBin03 TryBin03 self-assigned this Dec 21, 2021
@TryBin03 TryBin03 added the bug Something isn't working label Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant