Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101773 房知谦 财务管理 C++ Wrong Answer 1 MS 272 KB 406 2024-12-18 19:34:18

Tests(0/1):


Code:

#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(){ int i; float p; float u=0; for(int i=1;i<=12;i++){ cin>>p; u=u+p; } printf("%,2f",u/12); return 0; }


Run Info:

------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-----
%,2f