简单
2026-09-09 21:18:02
发布于:广东
0阅读
0回复
0点赞
上代码
#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a/5+b*0.3+c/2>=100){
cout<<100;
}else cout<<a/5+b*0.3+c/2;
}
这里空空如也
2026-09-09 21:18:02
发布于:广东
上代码
#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a/5+b*0.3+c/2>=100){
cout<<100;
}else cout<<a/5+b*0.3+c/2;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个