dungeons.cpp:47:1: error: 'vector' does not name a type
47 | vector <int> s, p, w, l;
| ^~~~~~
dungeons.cpp:48:18: error: 'vector' has not been declared
48 | void init(int N, vector <int> S, vector <int> P, vector <int> W, vector <int> L)
| ^~~~~~
dungeons.cpp:48:25: error: expected ',' or '...' before '<' token
48 | void init(int N, vector <int> S, vector <int> P, vector <int> W, vector <int> L)
| ^
dungeons.cpp: In function 'void init(int, int)':
dungeons.cpp:51:5: error: 's' was not declared in this scope
51 | s.resize(n);
| ^
dungeons.cpp:52:5: error: 'p' was not declared in this scope
52 | p.resize(n);
| ^
dungeons.cpp:53:5: error: 'w' was not declared in this scope
53 | w.resize(n);
| ^
dungeons.cpp:54:5: error: 'l' was not declared in this scope
54 | l.resize(n);
| ^
dungeons.cpp:57:14: error: 'S' was not declared in this scope
57 | s[i]=S[i];
| ^
dungeons.cpp:58:14: error: 'P' was not declared in this scope
58 | p[i]=P[i];
| ^
dungeons.cpp:59:14: error: 'W' was not declared in this scope
59 | w[i]=W[i];
| ^
dungeons.cpp:60:14: error: 'L' was not declared in this scope
60 | l[i]=L[i];
| ^
dungeons.cpp: At global scope:
dungeons.cpp:63:1: error: 'int64' does not name a type; did you mean 'int64_t'?
63 | int64 simulate(int x, int z)
| ^~~~~
| int64_t