| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137110 | 傅小轩 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 172 | 2025-11-16 11:22:06 |
#include<bits/stdc++.h> using namespace std; int main(){ double s=100; for(int i;i=10;i++){ s=s/2.00000; } printf("%f.6f,f); return 0; }
Main.cc:8:5: error: stray '\357' in program
printf("%f.6f,f);
^
Main.cc:8:5: error: stray '\274' in program
Main.cc:8:5: error: stray '\210' in program
Main.cc:8:14: warning: missing terminating " character
printf("%f.6f,f);
^
Main.cc:8:5: error: missing terminating " character
printf("%f.6f,f);
^
Main.cc: In function 'int main()':
Main.cc:5:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(int i;i=10;i++){
^
Main.cc:9:2: error: expected ';' before 'return'
return 0;
^
Main.cc:9:10: warning: statement is a reference, not call, to function 'printf' [-Waddress]
return 0;
^
Main.cc:9:10: warning: statement has no effect [-Wunused-value]