0_0_38691693_22001.cpp: In function 'void solve()':
0_0_38691693_22001.cpp:40:9: error: 'vector' was not declared in this scope
40 | vector<int> g(n + 1, 1e9);
| ^~~~~~
0_0_38691693_22001.cpp:5:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
4 | #include<unordered_set>
+++ |+#include <vector>
5 | using namespace std;
0_0_38691693_22001.cpp:40:16: error: expected primary-expression before 'int'
40 | vector<int> g(n + 1, 1e9);
| ^~~
0_0_38691693_22001.cpp:46:25: error: 'g' was not declared in this scope
46 | g[i] = min(g[i], f[i][j]);
| ^
0_0_38691693_22001.cpp:54:48: error: 'g' was not declared in this scope
54 | f[i][j] = min(f[i][j], g[j] + a[i]);
| ^
|