Type: RemoteJudge 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

1926
0
1900
0
2000
1
1996
1

提示

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

1.17

Not Attended
Status
Done
Rule
OI
Problem
16
Start at
2026-1-17 10:00
End at
2026-1-17 12:00
Duration
2 hour(s)
Host
Partic.
0