Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147971 张晓冉 财务管理 C++ Accepted 1 MS 276 KB 304 2026-02-09 09:41:02

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { double salary, total = 0; for (int i = 0; i < 12; i++) { cin >> salary; total += salary; } double average = total / 12; cout << "¥" << fixed << setprecision(2) << average << endl; return 0; }