#include<bits/stdc++.h>
using namespace std;
int main(){
int x,z;
cin>>x>>z;
if(x<60^z<60)
cout<<"1";
else
cout<<" 0";
return 0;}
输入两个数字,有一个少于60就输出1否则输出0
![](https://img-home.csdnimg.cn/images/20240711042549.png)
#include<bits/stdc++.h>
using namespace std;
int main(){
int x,z;
cin>>x>>z;
if(x<60^z<60)
cout<<"1";
else
cout<<" 0";
return 0;}