0_0_16800515_21911.cpp:15:1: error: 'hash_map' does not name a type
hash_map <int,int> g[MAXN],f[MAXN];
^
0_0_16800515_21911.cpp: In function 'void init()':
0_0_16800515_21911.cpp:29:9: error: 'g' was not declared in this scope
g[i].clear();
^
0_0_16800515_21911.cpp:30:9: error: 'f' was not declared in this scope
f[i].clear();
^
0_0_16800515_21911.cpp:58:9: error: 'g' was not declared in this scope
g[e[i].x][e[i].y]=e[i].z;
^
0_0_16800515_21911.cpp: In function 'void work()':
0_0_16800515_21911.cpp:76:13: error: 'g' was not declared in this scope
if (g[x][y]!=0)
^
0_0_16800515_21911.cpp:81:9: error: 'g' was not declared in this scope
g[x].erase(y);
^
0_0_16800515_21911.cpp:83:13: error: 'f' was not declared in this scope
if (f[x][y]!=0)
^
0_0_16800515_21911.cpp:102:21: error: 'f' was not declared in this scope
if (ans==0) f[x][y]=-1;
^
0_0_16800515_21911.cpp:103:14: error: 'f' was not declared in this scope
else f[x][y]=ans;
^
0_0_16800515_21911.cpp:106:13: error: 'f' was not declared in this scope
if (f[x][y]==-1) printf("The pair of cities are not connected or too far away.\n");
^
|