当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。

建议使用的浏览器:

谷歌Chrome 火狐Firefox Opera浏览器 微软Edge浏览器 QQ浏览器 360浏览器 傲游浏览器

5832:A water problem

题目描述
Two planets named Haha and Xixi in the universe and they were created with the universe beginning.

There is $73$ days in Xixi a year and $137$ days in Haha a year.

Now you know the days $N$ after Big Bang, you need to answer whether it is the first day in a year about the two planets.
输入解释
There are several test cases(about $5$ huge test cases).

For each test, we have a line with an only integer $N(0 \leq N)$, the length of $N$ is up to $10000000$.
输出解释
For the i-th test case, output Case #i: , then output "YES" or "NO" for the answer.
输入样例
10001
0
333
输出样例
Case #1: YES
Case #2: YES
Case #3: NO
来自杭电HDUOJ的附加信息
Author UESTC
Recommend wange2014

该题目是Virtual Judge题目,来自 杭电HDUOJ

源链接: HDU-5832

最后修改于 2020-10-25T23:26:01+00:00 由爬虫自动更新

共提交 4

通过率 0.0%
时间上限 内存上限
5000/2500MS(Java/Others) 65536/65536K(Java/Others)