0_0_25827729_20881.cpp: In function 'void floyd(int)': 0_0_25827729_20881.cpp:17:57: error: 'vis' was not declared in this scope if(i!=j&&j!=k&&k!=i&&mp[i][j]&&mp[i][k]&&mp[k][j]&&!vis[i][j]) ^