Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51592 | 张思存 | 有一门课不及格的学生 | C++ | Accepted | 0 MS | 244 KB | 277 | 2024-09-22 21:32:20 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b; cin >> a >> b; if(a<60 and b>=60){ cout<<1; }else{ if(a>=60 and b<60){ cout<<1; }else{ cout<<0; } } return 0; }