implementer.cpp: In function ‘int main()’:
implementer.cpp:94:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
94 | scanf("%d", &(n_roads[i]));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
implementer.cpp:98:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
98 | scanf("%d", &(road[i][j]));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
implementer.cpp:105:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
105 | scanf("%d", &(expected_answer[i]));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:2:10: error: #include expects "FILENAME" or <FILENAME>
2 | #include dungeon2.h
| ^~~~~~~~
answer.code: In function ‘void dfs(int)’:
answer.code:11:13: error: ‘NumberOfRoads’ was not declared in this scope
11 | int x = NumberOfRoads();
| ^~~~~~~~~~~~~
answer.code:13:9: error: ‘Move’ was not declared in this scope; did you mean ‘remove’?
13 | Move(i, v);
| ^~~~
| remove
answer.code:14:18: error: ‘LastRoad’ was not declared in this scope
14 | int kp = LastRoad();
| ^~~~~~~~
answer.code:15:15: error: ‘Color’ was not declared in this scope
15 | if (o[Color()] == i) {
| ^~~~~
answer.code:18:13: error: ‘Color’ was not declared in this scope
18 | if (Color() == 1) {
| ^~~~~
answer.code:30:18: error: ‘Color’ was not declared in this scope
30 | Move(kp, Color());
| ^~~~~
answer.code: In function ‘void Inspect(int)’:
answer.code:55:9: error: ‘Answer’ was not declared in this scope
55 | Answer(i, w[i]/2);
| ^~~~~~