Problem dragonfly
User SpiritSK
Submission Time 2023-02-05 02:07:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dragonfly.cpp:7:12: error: ‘dd’ does not name a type; did you mean ‘d’?
7 | bool found;dd
| ^~
| d
dragonfly.cpp: In function ‘void addEdge(int, int)’:
dragonfly.cpp:13:5: error: ‘adj’ was not declared in this scope
13 | adj[u].push_back(v);
| ^~~
dragonfly.cpp: In function ‘void memo(int)’:
dragonfly.cpp:20:5: error: ‘pondsCurrentlyVisited’ was not declared in this scope
20 | pondsCurrentlyVisited.push_back(v);
| ^~~~~~~~~~~~~~~~~~~~~
dragonfly.cpp:21:5: error: ‘trailsForHome’ was not declared in this scope
21 | trailsForHome[v] = pondsCurrentlyVisited;
| ^~~~~~~~~~~~~
dragonfly.cpp:23:19: error: ‘adj’ was not declared in this scope
23 | for (auto i : adj[v])
| ^~~
dragonfly.cpp: In function ‘int main()’:
dragonfly.cpp:69:25: error: ‘trailsForHome’ was not declared in this scope
69 | for (int pond