题目的链接
http://noi.openjudge.cn/ch0104/10/
#include<iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
int s=0;
if(a>=60 && b<60 ){
//s=s+1;
s++;
}
if(b>=60 && a<60){
s++;
}
cout<<s;
return 0;
}
python代码
https://blog.csdn.net/yigezzchengxuyuan/article/details/86651658
"""
1.4编程基础之逻辑表达式与条件分支 10 有一门课不及格的学生
http://noi.openjudge.cn/ch0104/10/
https://blog.csdn.net/yigezzchengxuyuan/article/details/86651658
"""
x, y = map(int, input().split())
if (x < 60 and y > 59) or (x > 59 and y < 60):
print("1")
else:
print("0")