H. 有一门课不及格的学生

    Type: Default 1000ms 128MiB

有一门课不及格的学生

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.

题目描述

给出一名学生的语文和数学成绩,判断他是否恰好有一门课不及格(成绩小于60分)。若该生恰好有一门课不及格,输出1;否则输出0。

输入

一行,包含两个在0到100之间的整数,分别是该生的语文成绩和数学成绩。

输出

若该生恰好有一门课不及格,输出1;否则输出0。

样例

50 80
1

来源

一本通在线评测

sst寒假基础班 结课

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2024-3-2 15:30
End at
2024-3-2 17:30
Duration
2 hour(s)
Host
Partic.
3