| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 55413 | zhangweiran | 有一门课不及格的学生 | C++ | Accepted | 0 MS | 244 KB | 233 | 2024-11-06 23:02:19 |
#include<iostream> using namespace std; int main() { int Chinese,Math; cin>>Chinese>>Math; bool a=(Chinese>=60); bool b=(Math>=60); if((a==1&&b==0)||(a==0&&b==1)){ cout<<1; } else{ cout<<0; } return 0; }