土拨鼠的幸运数字1
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题面翻译
【题目描述】愚蠢的土拨鼠喜欢数字,他将4和7视为幸运数字。如果一个数能由4与7组成,它就是幸运数字,只要能被幸运数字整除的也算幸运数字!现给定一个数字,判断它是否是幸运数。 【输入格式】一个整数n(1<=n<=1000000) 【输出格式】若n是幸运数或接近幸运数,输出“YES”;否则输出“NO”。(“”不用输出)
Samples
47
YES
16
YES
78
NO
非常“简单”
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 17
- Start at
- 2025-1-24 17:00
- End at
- 1970-1-1 8:00
- Duration
- -482697 hour(s)
- Host
- Partic.
- 1