0_0_25373096_25254.cpp:6:2: error: invalid preprocessing directive #difine
#difine INF 999999
^
0_0_25373096_25254.cpp: In function 'int main()':
0_0_25373096_25254.cpp:26:14: error: 'INF' was not declared in this scope
memset(dis,INF,sizeof(dis));
^
0_0_25373096_25254.cpp:46:29: error: lvalue required as increment operand
if (mapp[a]==0) mapp[a]=d++;
^
0_0_25373096_25254.cpp:47:29: error: lvalue required as increment operand
if (mapp[d]==0) mapp[a]=d++;
^
0_0_25373096_25254.cpp:48:26: error: invalid types 'int [1002][char [30]]' for array subscript
if (b=='<'&&c<dis[b][a]) dis[b][a]=c;
^
0_0_25373096_25254.cpp:48:37: error: invalid types 'int [1002][char [30]]' for array subscript
if (b=='<'&&c<dis[b][a]) dis[b][a]=c;
^
0_0_25373096_25254.cpp:49:23: error: invalid types 'int [1002][1002][char [30]]' for array subscript
if (b=='>'&&c<dis[a][b]) dis[a][b]=c;
^
0_0_25373096_25254.cpp:49:34: error: invalid types 'int [1002][1002][char [30]]' for array subscript
if (b=='>'&&c<dis[a][b]) dis[a][b]=c;
^
0_0_25373096_25254.cpp:51:9: error: 'floyd' was not declared in this scope
floyd()
^
0_0_25373096_25254.cpp:55:4: error: 'sum' was not declared in this scope
sum+=dis[num[i]][1];
^
|