HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Ad-Hoc > problem:


50591 - Leap year

Guest
• Discussion of problem (1)

Section problems

• 50357 - Convert Euros into Dollars
• 50466 - Drawing Square From Stars
• 50351 - Convert inches to cm
• 50356 - Hours Passed
• 50350 - Fahrenheit to Celsius
• 50355 - Bills of City Water Company
• 50467 - Random Numbers
• 50298 - Coins
• 50591 - Leap year
• 50312 - Sales Bar Chart
• 50313 - Pattern Displays
• 50393 - Palindromic Numbers
• 50375 - Area of Circles
• 50325 - How much time passed?
• 50580 - Days passed

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