Description
Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the lucky digits 4 and 7. For example, numbers 47, 744, 4 are lucky and 5, 17, 467 are not.
Petya calls a number almost lucky if it could be evenly divided by some lucky number. Help him find out if the given number n is almost lucky.
Input
The single line contains an integer n(1
下一篇:背包九讲
-
Division
、
贪心算法 算法 c++ #include ios -
Lucky Country
2179: LuckyCountr
ide i++ 并查集 -
postgresql division by zero
我这里是在mysql迁移greenplum/postgresql的时候遇到的问题因为gp比较严谨,所以在这里需要调整一下不多说
division zero greenplum postgresql 被除数