江湖救急!
查看原帖
江湖救急!
1249810
NachoDoritosLOL楼主2024/6/18 23:07

请问哪位大牛能帮我解决一下???

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c,d,e,f,g,h,i,j;
	cin>>a>>b>>c>>d>>e>>f>>g>>h>>i>>j;
	float sum=a*28.9+b*32.7+c*45.6+d*78+e*35+f*86.2+g*27.8+h*43+i*56+j*65;
	cout<<sum;
}

#5 WA,其他都是AC

2024/6/18 23:07
加载中...