Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75861 zhanfangweilai 财务管理 C++ Accepted 0 MS 280 KB 183 2024-05-31 17:39:22

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ float a[15],p,z=0; for(int i=1;i<=12;i++){ cin>>a[i]; z+=a[i]; } p=z/12; printf("¥%.2f",p); return 0; }