社区讨论

60分求解

B2044有一门课不及格的学生参与者 2已保存回复 3

讨论操作

快速查看讨论及其快照的属性,并进行相关操作。

当前回复
3 条
当前快照
1 份
快照标识符
@lo231s3i
此快照首次捕获于
2023/10/23 07:11
2 年前
此快照最后确认于
2023/11/03 07:31
2 年前
查看原帖
CPP
#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	if(a<60 and b>60 and c>60) cout<<"1";
	else if(b<60 and a>60 and c>60) cout<<"1";
	else if(c<60 and b>60 and a>60) cout<<"1";
	else cout<<"0";
	return 0;
}

回复

3 条回复,欢迎继续交流。

正在加载回复...