土拨鼠的幸运数字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
- IOI(Strict)
- Problem
- 19
- Start at
- 2024-3-2 19:15
- End at
- 2024-4-13 11:15
- Duration
- 1000 hour(s)
- Host
- Partic.
- 3