Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
120145 | 白碣琨 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 235 | 2025-05-24 11:13:36 |
#include <iostream> using namespace std; int main() { double height = 100.0; for (int i = 1; i <= 9; i++) { height /= 2; } cout << fixed << setprecision(6) << height / 2 << endl; return 0; }
Main.cc: In function 'int main()': Main.cc:10:36: error: 'setprecision' was not declared in this scope cout << fixed << setprecision(6) << height / 2 << endl; ^