0_0_35147305_11660.cpp: In function 'int main()':
0_0_35147305_11660.cpp:43:7: error: conflicting declaration 'int u'
int u=0;
^
0_0_35147305_11660.cpp:15:22: note: previous declaration as 'char u [30]'
char s[30], t[30], u[30], v[30];
^
0_0_35147305_11660.cpp:48:7: error: incompatible types in assignment of 'int' to 'char [30]'
u=i; minv=d[i];
^
0_0_35147305_11660.cpp:51:9: error: invalid types 'int [151][char [30]]' for array subscript
vis[u]=1;
^
0_0_35147305_11660.cpp:53:11: error: invalid types 'int [151][151][char [30]]' for array subscript
if(G[u][v]!=INF && !vis[v]) {
^
0_0_35147305_11660.cpp:54:17: error: invalid types 'int [151][char [30]]' for array subscript
if(d[v]>d[u]+G[u][v]) {
^
0_0_35147305_11660.cpp:54:22: error: invalid types 'int [151][151][char [30]]' for array subscript
if(d[v]>d[u]+G[u][v]) {
^
0_0_35147305_11660.cpp:55:15: error: invalid types 'int [151][char [30]]' for array subscript
d[v]=d[u]+G[u][v];
^
0_0_35147305_11660.cpp:55:20: error: invalid types 'int [151][151][char [30]]' for array subscript
d[v]=d[u]+G[u][v];
^
|