#T807. 有一门课不及格的学生
有一门课不及格的学生
Description
Given a student's Chinese and Math scores, determine whether exactly one of the subjects has a failing grade (score below 60). If the student has exactly one failing subject, output 1; otherwise, output 0.
Input Format
One line containing two integers between 0 and 100, representing the student's Chinese score and Math score, respectively.
Output Format
If the student has exactly one failing subject, output 1; otherwise, output 0.
50 80
1
来源
CodesOnline