dungeons.cpp:49:1: error: 'vector' does not name a type
49 | vector <int> s, p, w, l;
| ^~~~~~
dungeons.cpp:50:18: error: 'vector' has not been declared
50 | void init(int N, vector <int> S, vector <int> P, vector <int> W, vector <int> L)
| ^~~~~~
dungeons.cpp:50:25: error: expected ',' or '...' before '<' token
50 | 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:53:5: error: 's' was not declared in this scope
53 | s.resize(n);
| ^
dungeons.cpp:54:5: error: 'p' was not declared in this scope
54 | p.resize(n);
| ^
dungeons.cpp:55:5: error: 'w' was not declared in this scope
55 | w.resize(n);
| ^
dungeons.cpp:56:5: error: 'l' was not declared in this scope
56 | l.resize(n);
| ^
dungeons.cpp:59:14: error: 'S' was not declared in this scope
59 | s[i]=S[i];
| ^
dungeons.cpp:60:14: error: 'P' was not declared in this scope
60 | p[i]=P[i];
| ^
dungeons.cpp:61:14: error: 'W' was not declared in this scope
61 | w[i]=W[i];
| ^
dungeons.cpp:62:14: error: 'L' was not declared in this scope
62 | l[i]=L[i];
| ^
dungeons.cpp: At global scope:
dungeons.cpp:65:1: error: 'int64' does not name a type; did you mean 'int64_t'?
65 | int64 simulate(int x, int z)
| ^~~~~
| int64_t