Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80091 李雨昊 求平方根 C++ Compile Error 0 MS 0 KB 145 2024-07-11 11:03:30

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { double x; cin>>x; result = sqrt(x); printf("%lf", x, result); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:2: error: 'result' was not declared in this scope
  result = sqrt(x); 
  ^
Main.cc:9:17: error: 'sqrt' was not declared in this scope
  result = sqrt(x); 
                 ^