-->
当前位置:首页 > 题库

PROGRAMMING:There are students who fail in one course

Luz5年前 (2021-05-10)题库513
###Task description
Given a student's Chinese and mathematics scores, judge whether he just failed a course (score less than 60 points).
###Input format:
One line, containing two integers between 0 and 100, is the student's language and mathematics scores.
###Output format:
If the student fails in one course, output 1; Otherwise, output 0.
###Input example:
```in
50 80
```
###Output example:
```out
one
```
###Tips
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0104/10/ .
Problem analysis:
This topic examines the discriminant expression of "just one course failed". Please pay attention to the role of brackets in complex logical expressions.







answer:If there is no answer, please comment