Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
74331 张津赫轩 财务管理 C++ Accepted 0 MS 276 KB 282 2024-05-25 09:29:18

Tests(1/1):


Code:

#include<iomanip> #include<iostream> #include <iostream> #include<queue> using namespace std; int main() { double q,w,e,r,t,y,u,i,o,p,a,s,c = 0; cin>>q>>w>>e>>r>>t>>y>>u>>i>>o>>p>>a>>s; c = (q+w+e+r+t+y+u+i+o+p+a+s)/12; cout<<"¥"<<fixed<<setprecision(2)<<c; }