HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Ad-Hoc > problem:


50591 - Leap year

Guest
• Discussion of problem (1)

Section problems

• 50350 - Fahrenheit to Celsius
• 50356 - Hours Passed
• 50466 - Drawing Square From Stars
• 50351 - Convert inches to cm
• 50467 - Random Numbers
• 50474 - Sum of Two Primes
• 50371 - Modified Karnaugh-Map
• 50580 - Days passed
• 50591 - Leap year
• 50597 - Drawing Diamonds

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