garden.cpp: In function 'void count_routes(int, int, int, int (*)[2], int, int*)':
garden.cpp:45:5: error: 'unordered_map' was not declared in this scope
45 | unordered_map<int,int>mp;
| ^~~~~~~~~~~~~
garden.cpp:5:1: note: 'std::unordered_map' is defined in header '<unordered_map>'; did you forget to '#include <unordered_map>'?
4 | #include<vector>
+++ |+#include <unordered_map>
5 | using namespace std;
garden.cpp:45:19: error: expected primary-expression before 'int'
45 | unordered_map<int,int>mp;
| ^~~
garden.cpp:47:9: error: 'mp' was not declared in this scope; did you mean 'p'?
47 | mp[dfs(i,0)]++;
| ^~
| p
garden.cpp:51:16: error: 'mp' was not declared in this scope; did you mean 'p'?
51 | answer(mp[G[i]]);
| ^~
| p