| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147849 | 赖泓宇 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 448 | 2026-02-08 16:40:41 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main() { int i; double h = 100; for(i=1;i<=10;i+) { h = h/2 } printf("%.6lf",h); return 0; }
Main.cc: In function 'int main()':
Main.cc:10:24: error: expected primary-expression before ')' token
for(i=1;i<=10;i+)
^
Main.cc:13:5: error: expected ';' before '}' token
}
^