C. [例3.3]闰年判断

    Type: Default 1000ms 256MiB

[例3.3]闰年判断

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

输入一个年份,判断这一年是否是闰年,如果是输出 11,否则输出 00

输入格式

输入一个正整数 nn,表示年份。

输出格式

输出一行。如果输入的年份是闰年则输出 11,否则输出 00

样例 #1

样例输入 #1

1926

样例输出 #1

0

样例 #2

样例输入 #2

1900

样例输出 #2

0

样例 #3

样例输入 #3

2000

样例输出 #3

1

提示

数据保证,1582n20201582 \leq n \leq 2020 且年份为自然数。

龙凤苑中学B班4.25

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2024-4-23 14:15
End at
2024-4-27 14:15
Duration
96 hour(s)
Host
Partic.
11