Problem | cuberoot |
---|---|
User | Daddy |
Submission Time | 2023-11-17 10:25:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:5:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | cin>>t;
| ^~~
| std::cin
In file included from cuberoot.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
cuberoot.cpp:7:3: error: expected identifier before ‘long’
7 | long x;
| ^~~~
cuberoot.cpp:7:9: error: expected ‘]’ before ‘;’ token
7 | long x;
| ^
| ]
cuberoot.cpp: In lambda function:
cuberoot.cpp:7:9: error: expected ‘{’ before ‘;’ token
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:8:8: error: ‘x’ was not declared in this scope
8 | cin>>x;
| ^
cuberoot.cpp:9:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
9 | cout<<cbrt(t)<&l