| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156660 | 万嘉宇 | 财务管理 | C++ | Wrong Answer | 1 MS | 272 KB | 279 | 2026-07-04 14:59:23 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int n; double m,s; cin>>n; for(int i=1;i<=12;i++){ cin>>m; s+=m; cout<<"¥"<<s/12; } return 0; }
------Input------
12345.12 12434.45 42524.56 86342.11 23436.67 75443.45 43565.90 54342.00 11111.33 34365.09 12231.32 21344.65
------Answer-----
¥35790.55
------Your output-----
¥0.01¥1036.21¥4579.93¥11775.1¥13728.2¥20015.1¥23645.6¥28174.1¥29100¥31963.8¥32983.1¥34761.8