0_0_32120661_12031.cpp:4:11: error: conflicting declaration 'const int N'
const int N=205;
^
0_0_32120661_12031.cpp:3:5: note: previous declaration as 'int N'
int N,M;
^
0_0_32120661_12031.cpp:6:8: error: array bound is not an integer constant before ']' token
int d[N][N];
^
0_0_32120661_12031.cpp:6:11: error: array bound is not an integer constant before ']' token
int d[N][N];
^
0_0_32120661_12031.cpp: In function 'void floyd()':
0_0_32120661_12031.cpp:12:17: error: 'd' was not declared in this scope
d[i][j]=min(d[i][j],d[i][k]+d[k][j]);
^
0_0_32120661_12031.cpp: In function 'int main()':
0_0_32120661_12031.cpp:19:16: error: 'd' was not declared in this scope
memset(d,INF,sizeof(d));
^
|