Feedback | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Prepared by Ibrahim Mesecan.
Number of Perfect numbers
Shqip
Perfect number is a number whose sum of divisors are equal to the number itself. e.g. 6 is a perfect number because sum of its divisors is 1+2+3=6. Read two numbers and find out how many perfect numbers are there between these numbers.
Input specification
There will be only two numbers in the input file which are between
1 < n < m ≤ 20000.
Output specification
Between the given numbers, show the number of perfect numbers,if there is any.
Otherwise print "No" (without double quotations).
Input I b>
td>
|
Output 1 b>
td> tr>
5 30
td>
|
2
td> tr> | |
Для отправки решений необходимо выполнить вход.
|