0_0_24230815_499.cpp: In function 'void dijkstra(int, int)': 0_0_24230815_499.cpp:20:5: error: expected initializer before 'memset' memset(vis,0,sizeof(vis)); ^ 0_0_24230815_499.cpp:24:5: error: 'vis' was not declared in this scope vis[v]=1; ^