HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


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

Guest
• Discussion of problem (2)

Section problems

• 50547 - Close Pair
• 50238 - The smallest number
• 50437 - Age Labeling
• 50457 - The Number of Winners
• 50478 - Letter Grades
• 50782 - Max of N integers
• 50552 - Casual shoes
• 50562 - List of students
• 50570 - Prime numbers in the s...
• 50586 - Prime Palindromes
• 50783 - The smallest number
• Raporti Javor
• 50331 - Number of Numbers over A...
• 50465 - How many students have p...
• 50450 - Last Appereance of a Number
• 50378 - Sum of the given digits
• 50458 - Weekly Report

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