Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5165 | 若楷编程专用 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 150 | 2024-11-02 20:59:58 |
#include<iostream> using namespace std; int main(){ int i; double n=100 for(double i=100;i<=;i++){ n=n/2; } cout<<n<<endl; }
Main.cc: In function 'int main()': Main.cc:6:5: error: expected ',' or ';' before 'for' for(double i=100;i<=;i++){ ^ Main.cc:6:25: error: expected primary-expression before ';' token for(double i=100;i<=;i++){ ^ Main.cc:6:29: error: expected ';' before ')' token for(double i=100;i<=;i++){ ^