| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137114 | 张文浩 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 164 | 2025-11-16 11:27:09 |
#include <bits/stdc++.h> using namespace std; int main (){ int i; double c=100; for(int i=1;i<=10;1++){ c=c/2; } printf("%.6f",c); return 0; }
Main.cc: In function 'int main()':
Main.cc:8:21: error: lvalue required as increment operand
for(int i=1;i<=10;1++){
^
Main.cc:6:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^