| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65737 | 李雨昊 | 财务管理 | C++ | Compile Error | 0 MS | 0 KB | 168 | 2024-02-03 22:31:33 |
#include<iostream> #include<cstdio> using namespace std; int main() { double a = 0,b; for(12;;){ cin>>b; a+=b } cout<<"¥"<<a/12; return 0; }
Main.cc: In function 'int main()':
Main.cc:9:8: warning: statement has no effect [-Wunused-value]
for(12;;){
^
Main.cc:12:2: error: expected ';' before '}' token
}
^