he身为一个小学生,这道题不就是有手就行???????????????
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f,g,h,k,l;//定义十个书的数量
cin>>a>>b>>c>>d>>e>>f>>g>>h>>k>>l;、、输入
cout<<fixed<<setprecision(1)<<a*28.9+b*32.7+c*45.6+d*78+e*35+f*86.2+g*27.8+h*43+k*56+l*65;
}