#include <iostream> #include <stdio.h> #include <iomanip> #include <math.h> using namespace std; const int N = 1e6 + 10; const int INF = 0x3f3f3f3f; int main() { int y , s; cin >> y >> s; if( y >= 60 && s >= 60) { cout << 0; } else { cout << 1; } return 0; }
#include<bits/stdc++.h> using namespace std; int main (){ int a,b,c; cin>>a>>b; if(a||b<60) { cout<<"1"; } else { cout<<"0"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; if (a < 60 && b > 60) { cout << 1; } else if (a > 60 && b < 60) { cout << 1; } else { cout << 0; } return 0; }
/crl(陈儒乐)/
#include<bits/stdc++.h>//网上查到的万能头//
using namespace std;
int main()
{
int a,b; cin >> a >> b; if(a < 60 || b < 60) cout << '1'; else cout << '0';
}
#include <stdio.h> #include <iostream> #include <math.h> using namespace std; int main() { int n; cin >> n; if(n>=60 && n<=100) { cout <<"0"; } else { cout<<"1"; } }
#include<stdio.h> #include using namespace std; int main() { int a,b; cin>>a>>b; if(a<60&&b>=60) { cout<<1<<endl; }else if(a>=60&&b<60) { cout<<1<<endl; }else { cout<<0<<endl; } }
注册一个 TeMenHu 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 TeMenHu 通用账户