0_0_20667815_15822.cpp:9:3: error: 'mp' does not name a type
};mp[10000];
^
0_0_20667815_15822.cpp: In function 'void add(int, int, int)':
0_0_20667815_15822.cpp:15:5: error: 'mp' was not declared in this scope
mp[e].v=v;
^
0_0_20667815_15822.cpp: In function 'int bfs()':
0_0_20667815_15822.cpp:31:35: error: 'mp' was not declared in this scope
for(int i=head[u];i!=-1;i=mp[i].next)
^
0_0_20667815_15822.cpp: In function 'int dfs(int, int)':
0_0_20667815_15822.cpp:50:31: error: 'mp' was not declared in this scope
for(int i=head[u];i!=-1;i=mp[i].next)
^
0_0_20667815_15822.cpp: In function 'int main()':
0_0_20667815_15822.cpp:78:16: error: 'mp' was not declared in this scope
memset(mp,0,sizeof(mp));
^
|