0_0_25393665_18283.cpp: In function 'void floyd()':
0_0_25393665_18283.cpp:12:17: error: 'n' was not declared in this scope
for(int k=0;k<=n;++k)
^
0_0_25393665_18283.cpp: In function 'int main()':
0_0_25393665_18283.cpp:40:104: error: 'sqrt' was not declared in this scope
else dis[i][j]=sqrt((loc[i].x-loc[j].x)*(loc[i].x-loc[j].x)+(loc[i].y-loc[j].y)*(loc[i].y-loc[j].y));
^
0_0_25393665_18283.cpp:48:47: error: 'sqrt' was not declared in this scope
if(sqrt(loc[i].x*loc[i].x+loc[i].y*loc[i].y)<7.5+d)
^
0_0_25393665_18283.cpp:50:75: error: 'sqrt' was not declared in this scope
if(sqrt((loc[i].x-50.0)*(loc[i].x-50.0)+(loc[i].y-50.0)*(loc[i].y-50.0))<d)
^
0_0_25393665_18283.cpp:55:4: error: 'mp' was not declared in this scope
mp[0][a[i]]=sqrt(loc[i].x*loc[i].x+loc[i].y*loc[i].y)-7.5;
^
0_0_25393665_18283.cpp:55:56: error: 'sqrt' was not declared in this scope
mp[0][a[i]]=sqrt(loc[i].x*loc[i].x+loc[i].y*loc[i].y)-7.5;
^
0_0_25393665_18283.cpp:57:16: error: invalid types 'int [1001][double]' for array subscript
step[0][a[i]]=1;
^
0_0_25393665_18283.cpp:58:13: error: invalid types 'int [1001][1001][double]' for array subscript
step[a[i]][0]=1;
^
0_0_25393665_18283.cpp:62:4: error: 'mp' was not declared in this scope
mp[b[i]][n]=sqrt((loc[i].x-50.0)*(loc[i].x-50.0)+(loc[i].y-50.0)*(loc[i].y-50.0);
^
0_0_25393665_18283.cpp:62:84: error: expected ')' before ';' token
mp[b[i]][n]=sqrt((loc[i].x-50.0)*(loc[i].x-50.0)+(loc[i].y-50.0)*(loc[i].y-50.0);
^
0_0_25393665_18283.cpp:63:84: error: expected ')' before ';' token
mp[n][b[i]]=sqrt((loc[i].x-50.0)*(loc[i].x-50.0)+(loc[i].y-50.0)*(loc[i].y-50.0);
^
|