【例22.1】 有一门课不及格的学生
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.
说明
给出一名学生的语文和数学成绩,判断他是否恰好有一门课不及格(成绩小于 分)。若该生恰好有一门课不及格,输出 ;否则输出 。
输入格式
一行,包含两个在 到 之间的整数,分别是该生的语文成绩和数学成绩。
输出格式
若该生恰好有一门课不及格,输出 ;否则输出 。
样例
50 80
1
基础语法测试
- Status
- Done
- Rule
- Ledo
- Problem
- 6
- Start at
- 2025-7-16 15:40
- End at
- 2025-7-16 16:25
- Duration
- 0.8 hour(s)
- Host
- Partic.
- 6