Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110222 | 徐齐力 | 财务管理 | C++ | Wrong Answer | 1 MS | 272 KB | 429 | 2025-02-15 14:45:36 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ long long a,i; double c=0; for(i=1;i<=12;i++) { cin>>a; c+=a; } c/=12; cout<<"¥"; printf("%.2lf",c); 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-----
¥1028.75