0_0_37475833_6968.cpp: In function 'void dj()': 0_0_37475833_6968.cpp:24:17: error: 'N' was not declared in this scope for(int i=1;i<=N;i++)dist[i]=inf; ^