Main.cc: In function 'void process()':
Main.cc:18:5: error: 'vector' was not declared in this scope
18 | vector<string> s;
| ^~~~~~
Main.cc:2:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
1 | #include<iostream>
+++ |+#include <vector>
2 | #include<string>
Main.cc:18:18: error: expected primary-expression before '>' token
18 | vector<string> s;
| ^
Main.cc:18:20: error: 's' was not declared in this scope
18 | vector<string> s;
| ^
Main.cc:28:9: warning: unused variable 'cnt' [-Wunused-variable]
28 | int cnt=0;
| ^~~