当前位置:首页 > 题库 > 正文内容

PROGRAMMING:Lucky numbers

Luz1个月前 (05-10)题库13
Xiao Bo likes numbers 4 and 7 very much. When he sees a number, he wants to quickly calculate the number of 4 and 7 in the factor. However, he always has to calculate for a long time if he has an urgent IQ. If he likes programming, can you help him?
###Input format:
The first line is an integer n, which represents the given number.
###Output format:
Two numbers separated by spaces represent the number of 4 and 7 in the factor of a given number.
###Input example:
```in
one hundred and twelve
```
###Output example:
```out
2 1
```
[example description]
112=4 X 4 X 7
[data scale]
50% of data, 3 < = n < = 2 ^ 30
100% of the data, 3 < = n < = 2 ^ 60 < br > < br > < br > < br > < br >


answer:If there is no answer, please comment
分享给朋友:

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。