HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Albanian National Olympiads in Informatics > problem:


2013-1. 50591 - Leap year

Guest
• Discussion of problem (1)

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 in t...
• 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

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 1- Leap year

Shqip

There will be given a year. Determine if the given year is leap or not.

Input
There will be given a year N. (0 < N <= 3000)

Output
If N is a leap year, showВ “YES”, else show “NO”.

Input I
1700
Output 1
NO

Input II
1600
Output II
YES

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

www.contester.ru