| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148929 | Kevin | 计算书费 | C++ | Accepted | 1 MS | 272 KB | 262 | 2026-03-03 14:25:58 |
#include<bits/stdc++.h> using namespace std; int a[11]; int main() { double b[10]={28.9,32.7,45.6,78,35,86.2,27.8,43,56,65}; double s=0; for(int i=0;i<10;i++){ cin>>a[i]; } for(int i=0;i<10;i++){ s+=a[i]*b[i]; } cout<<s; return 0; }