Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147903 伊建润 财务管理 C++ Accepted 0 MS 276 KB 323 2026-02-09 08:29:53

Tests(1/1):


Code:

#include <iostream> #include <iomanip> int main() { double salary, total = 0; for (int i = 0; i < 12; ++i) { std::cin >> salary; total += salary; } double average = total / 12; std::cout << "¥" << std::fixed << std::setprecision(2) << average << std::endl; return 0; }