建议降红
查看原帖
建议降红
1499743
ma_rui楼主2025/2/1 18:23

这题跟结构体有个毛线关系啊???

#include<bits/stdc++.h>
using namespace std;
const int N=1e5+5,INF=0x3f3f3f3f;
typedef long long LL;
int n,a,b,c;
int main()
{
	cin>>n;
	for(int i=1;i<=n;i++){
		cin>>a>>b>>c;
		if(b+c>140&&b*7+c*3>=800)cout<<"Excellent\n";
		else cout<<"Not excellent\n";
	}
	return 0;
}
2025/2/1 18:23
加载中...