1 solutions
-
0
Guest MOD
-
1
#include <iostream> using namespace std; int main(){ int Chinese,math,English; cin>>Chinese>>math>>English; if(((Chinese<60)&&(math>=60)&&(English>=60))||((Chinese>=60)&&(math<60)&&(English>=60))||((Chinese>=60)&&(math>=60)&&(English<60))){ cout<<1; }else{ cout<<0; } return 0; }定义三个变量,输入,进行比较(需三次用或连接),输出。 如有错误,欢迎指出。 QWQ
- 1
Information
- ID
- 724
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 7
- Tags
- (None)
- # Submissions
- 114
- Accepted
- 28
- Uploaded By