HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Albanian National Olympiads in Informatics > problem:


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

Guest
• Discussion of problem (2)

Volume problems

• 2015-2. 50489 - Football Championship
• 2010-1. 50298 - Coins
• 2010-2. 50299 - Median
• 2010-3. 50300 - Matrix
• 2012-2. 50545 - Diet
• 2013-1. 50591 - Leap year
• 2013-3. 50570 - Prime numbers...
• 2013-4. 50958 - ATM
• 2013-5. 50543 - Hotel rooms
• 2013-6. 50562 - List of students
• 2012-1. 50544 - Stock market
• 2012-4. 50680 - Triangle
• 2012-5. 50551 - Camelot
• 2014-2. 50738 - Median value
• 2012-3. 50721 - Palindrome

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