B. 【深基3.例3】闰年判断

    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 且年份为自然数。

柳泉基础班6月20日测试题

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2025-6-20 16:30
End at
2025-6-20 18:30
Duration
2 hour(s)
Host
Partic.
36