12 条题解
信息
- ID
- 888
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 4
- 标签
- 递交数
- 1210
- 已通过
- 517
- 上传者
#include <iostream>
using namespace std;
int main() {
int chinese, math;
cin >> chinese >> math;
// 判断是否恰好一门不及格
if((chinese < 60 && math >= 60) || (chinese >= 60 && math < 60)) {
cout << 1;
} else {
cout << 0;
}
return 0;
}
这么简单的题,题解师们写不出100ac?