提交时间:2019-12-07 11:23:31
运行 ID: 2720
#include<iostream> int main(){ double j=28.9; double shu=32.7; double zi=45.6; double C=78.0; double r=35.0; double ji=86.2; double bian=27.8; double cao=43.0; double wang=56.0; double J=65.0; int a1,a2,a3,a4,a5,a6,a7,a8,a9,a10; scanf("%d %d %d %d %d %d %d %d %d %d",&a1,&a2,&a3,&a4,&a5,&a6,&a7,&a8,&a9,&a10); printf("%.1lf",a1*j+a2*shu+a3*zi+a4*C+a5*r+a6*ji+a7*bian+a8*cao+a9*wang+a10*J); return 0; }