Rosetta Problems

Generalized Leap Years

https://onlinejudge.u-aizu.ac.jp/problems/2882