HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


50575 - Number of Prime numbers

Guest
• Discussion of problem (2)

Section problems

• 50470 - Close Pairs - Revised
• 50459 - The Biggest Digit
• 50784 - Top Growing Company
• 50791 - Mine field
• 50867 - Average of the Best Grades
• 50460 - Median of 3 Numbers
• 50566 - Grade Point Average (GPA)
• 50573 - Count and Sum
• 50575 - Number of Prime numbers
• 50576 - Number of Perfect numbers
• 50588 - Processing the list of numbers
• 50547 - Close Pair
• 50238 - The smallest number
• 50437 - Age Labeling
• 50457 - The Number of Winners
• 50478 - Letter Grades
• 50782 - Max of N integers

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 Prime numbers

Shqip
Read two numbers and find out how many prime numbers are there between these numbers.
Input specification
There will be only two numbers in the input file which are between 1 < n < m ≤ 100000.
Output specification
If there is any prime between the numbers show the number of primes. Otherwise print "No" (without double quotations).
Input Output
5 10
2

Для отправки решений необходимо выполнить вход.

www.contester.ru