Problem exponentiate
User YH
Submission Time 2024-02-10 11:30:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:2:7: error: expected nested-name-specifier before ‘namespce’
2 | using namespce std;
| ^~~~~~~~
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:14:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
14 | cout << num;
| ^~~~
| std::cout
In file included from exponentiate.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~