0_0_29162693_24169.cpp: In function 'void dij()': 0_0_29162693_24169.cpp:7:37: error: 'memset' was not declared in this scope #define ms(a,b) memset(a,b,sizeof(a)) ^ 0_0_29162693_24169.cpp:21:5: note: in expansion of macro 'ms' ms(d, INF); ^