Problem | shortest |
---|---|
User | DoubleShaurya |
Submission Time | 2024-02-10 13:50:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shortest.cpp: In function ‘int main()’:
shortest.cpp:49:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
49 | cout << setprecision(10)<< sqroot(2,5);
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from shortest.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
shortest.cpp:49:10: error: ‘setprecision’ was not declared in this scope; did you mean ‘std::setprecision’?
49 | cout << setprecision(10)<< sqroot(2,5);
| ^~~~~~~~~~~~
| std::setprecision
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:72,
from shortest.cpp:1:
/usr/include/c++/9/iomanip:195:3: note: ‘std::setprecision’ declared here
195 | setprecision(int __