Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136381 严鑫亮 财务管理 C++ Compile Error 0 MS 0 KB 257 2025-11-12 19:33:30

Tests(0/0):


Code:

#include <iostream> #include <cstdio> using namespace std; int main() { double sum = 0; for(int i = 0; i < 12; i++) { double money; scainf("%lf",&money); sum+=money; } printf("%.2lf%s",sum/12,"$"); }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:28: error: 'scainf' was not declared in this scope
         scainf("%lf",&money);
                            ^