Problem 7up
User YEethui
Submission Time 2023-11-10 10:46:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

7up.cpp: In function ‘int main()’:
7up.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<int> num;
| ^~~~~~
7up.cpp:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
2 | #include <cmath>
+++ |+#include <vector>
3 | using namespace std;
7up.cpp:7:12: error: expected primary-expression before ‘int’
7 | vector<int> num;
| ^~~