Problem eevacuation
User PlayVoltz
Submission Time 2023-09-06 21:04:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eevacuation.cpp: In function ‘int update(int, int)’:
eevacuation.cpp:10:16: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
10 | for (auto num:graph[node]){
| ^~~~~
| isgraph
eevacuation.cpp: In function ‘int main()’:
eevacuation.cpp:32:12: error: too few arguments to function ‘int update(int, int)’
32 | update(i);
| ^
eevacuation.cpp:8:5: note: declared here
8 | int update(int node, int val){
| ^~~~~~