| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148559 | 张晓冉 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 164 | 2026-02-25 17:11:29 |
#include<bits/stdc++.h> usingnamespacestd; intmain(){ double h = 100; for(int i = 1;i <= 10;i++){ h = h/2; } printf("%.6lf",h); }
Main.cc:2:1: error: 'usingnamespacestd' does not name a type
usingnamespacestd;
^
Main.cc:3:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
intmain(){
^
Main.cc: In function 'int intmain()':
Main.cc:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^