Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
71699 sh25_ganzy 计算书费 C++ 通过 0 MS 248 KB 297 2025-10-27 18:48:51

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a[10]; for(int i=0;i<10;i++){ cin>>a[i]; } float f; f=28.9*a[0]+32.7*a[1]+45.6*a[2]+78*a[3]+35*a[4]+86.2*a[5]+27.8*a[6]+43*a[7]+56*a[8]+65*a[9]; cout<<fixed<<setprecision(1)<<f; return 0; }


测评信息: