Problem | cuberoot |
---|---|
User | StewartStudios |
Submission Time | 2025-04-24 19:15:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int32_t main()’:
cuberoot.cpp:5:5: error: ‘ios’ has not been declared
5 | ios::sync_with_stdio(false);
| ^~~
cuberoot.cpp:6:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin.tie(0);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
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:13:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
13 | cout << cbrt(int1) << el;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from cuberoot.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | ext