Problem | cuberoot |
---|---|
User | Daddy |
Submission Time | 2023-11-11 21:14:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:9:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
9 | 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:16:9: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
16 | cout << result <<endl;
| ^~~~
| std::cout
In file included from cuberoot.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
cuberoot.cpp:16:26: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
16 | cout << result <<endl;
|