| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 80094 | 李雨昊 | 求平方根 | C++ | Compile Error | 0 MS | 0 KB | 160 | 2024-07-11 11:04:13 |
#include<iostream> #include<cmath> using namespace std; int main() { double x; cin>>x; result = sqrt(x); printf("%lf", x, result); return 0; }
Main.cc: In function 'int main()': Main.cc:9:2: error: 'result' was not declared in this scope result = sqrt(x); ^