Basic practice leap year judgment time limit: 1.0s memory limit: 256.0MB Problem description
Given a year, it is not a leap year to judge.
This is a leap year when one of the following conditions is met:
1. The year is a multiple of 4 rather than a multiple of 100;
2. The year is a multiple of 400.
None of the other years is a leap year.
The input format input contains an integer y that represents the current year. The output format outputs a row, or output Yes if the given year is a leap, otherwise outputs No.
Description: When the question specifies that you want to output a string as a result (for example, yes or no, you need to strictly follow the case given in the question, and the case will not score.)
Sample input 2013 sample output no sample input 2016 sample output Yes data size and convention 1990 <= y <= 2050.
Blue Bridge Cup basic practice leap year judgment "basic problem"