Problem exponentiate
User 2Princes1Lance
Submission Time 2023-12-04 08:23:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:32:14: error: ‘vector’ in namespace ‘std’ does not name a template type
32 | typedef std::vector<int>::iterator iter;
| ^~~~~~
exponentiate.cpp:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
2 | #include <iostream>
+++ |+#include <vector>
3 |
exponentiate.cpp:33:33: error: ‘std::vector’ has not been declared
33 | using std::cin, std::cout, std::vector;
| ^~~~~~