运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
429915 | 萧瑟秋风今又是换了人间 | 1050 - 球魁 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 637 | 2年前 |
Main.cc:11:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
11 | main(){
| ^~~~
Main.cc: In function ‘int main()’:
Main.cc:30:3: error: ‘ans’ was not declared in this scope; did you mean ‘ans2’?
30 | ans*=2;
| ^~~
| ans2