| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73653 | 陈俊洁 | 14慈善募捐 | C++ | Compile Error | 0 MS | 0 KB | 180 | 2024-05-19 14:33:56 |
#include <bits/stdc++.h> using namespace std; int main () { int n=0,a,sum=0; while(sum<100000){ cin>>a; n++; sum+=a } print("%d %.2lf",n,m*1.0/n); return 0; }
Main.cc: In function 'int main()':
Main.cc:9:1: error: expected ';' before '}' token
}
^
Main.cc:10:22: error: 'm' was not declared in this scope
print("%d %.2lf",n,m*1.0/n);
^
Main.cc:10:29: error: 'print' was not declared in this scope
print("%d %.2lf",n,m*1.0/n);
^