Problem | cuberoot |
---|---|
User | god |
Submission Time | 2025-06-20 07:10:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:4:2: error: ‘ios_base’ has not been declared
4 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
cuberoot.cpp:5:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
5 | cin.tie(NULL);
| ^~~
| 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:4: error: ‘mid’ was not declared in this scope; did you mean ‘min’?
13 | mid = (min+max)/2;
| ^~~
| min
cuberoot.cpp:19:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
19 | cout << mid << "\n";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux