Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74338 刘昊炜 财务管理 C++ Accepted 1 MS 272 KB 248 2024-05-25 09:31:53

Tests(1/1):


Code:

#include<iostream> #include<iomanip> using namespace std; int main(){ double a,b,c,d,e,f,g,h,i,j,k,l; cin >>a>>b>>c>>d>>e>>f>>g>>h>>i>>j>>k>>l; double s; s = (a+b+c+d+e+f+g+h+i+j+k+l)/12.0; cout <<"¥"<<fixed<<setprecision(2)<<s; }