HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


50570 - Prime numbers in the segment[a, b]

Guest
• Discussion of problem (2)

Section problems

• 50791 - Mine field
• 50867 - Average of the Best Grades
• 50782 - Max of N integers
• 50460 - Median of 3 Numbers
• 50552 - Casual shoes
• 50558 - Biggest Barn
• 50562 - List of students
• 50566 - Grade Point Average (GPA)
• 50570 - Prime numbers in the s...
• 50573 - Count and Sum
• 50575 - Number of Prime numbers
• 50576 - Number of Perfect numbers
• 50586 - Prime Palindromes
• 50588 - Processing the list of numbers
• 50589 - The Number of Eggs Sold
• 50783 - The smallest number
• 50792 - The student with the highest...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 4000/7000/7000/7000 ms. Memory limit 65000/65000/65000/65000 Kb.
Olympiad 2013. Prepared by: Evis Hoxha. Difficulty Alpha

Question 3- Prime numbers in the segment[a, b]

Shqip

Show all the prime numbers in the segment[a, b].

Input
Two numbers will be given, a and b, where: -10 <= a < b <= 300.

Output
Show all the prime numbers in the segment[a, b] separated by space.

Input I
23 50
Output 1
23 29 31 37 41 43 47

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

www.contester.ru