| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 154306 | 张皓凯 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 173 | 2026-05-30 10:10:26 |
#include<bits/stdc++.h> using namespace std; int main() { int x=100; for(int i=1;i<=10;i++) { x/2; } print("%.6f".x) return 0; }
Main.cc: In function 'int main()':
Main.cc:8:10: warning: statement has no effect [-Wunused-value]
x/2;
^
Main.cc:10:18: error: request for member 'x' in '"%.6f"', which is of non-class type 'const char [5]'
print("%.6f".x)
^
Main.cc:10:19: error: 'print' was not declared in this scope
print("%.6f".x)
^