Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158566 林睿 财务管理 Python3 Compile Error 0 MS 0 KB 308 2026-08-22 15:14:21

Tests(0/0):


Code:

#include <iostream> #include <iomanip> using namespace std; int main() { double sum = 0; double x; for(int i = 0; i < 12; i++) { cin >> x; sum += x; } double avg = sum / 12; cout << "¥" << fixed << setprecision(2) << avg << endl; return 0; }


Run Info:

  File "Main.py", line 3
    using namespace std;
                  ^
SyntaxError: invalid syntax