Main.cc:4:27: warning: overflow in implicit constant conversion [-Woverflow] const int N=155,M=N*N,INF=1e10; ^~~~ Main.cc: In function ‘int main()’: Main.cc:42:7: error: ‘i’ was not declared in this scope a(i,1,n) ^ Main.cc:42:12: error: ‘a’ cannot be used as a function a(i,1,n) ^ Main.cc:45:12: error: ‘a’ cannot be used as a function a(i,1,n) d[i][i]=0; ^ Main.cc:46:12: error: ‘a’ cannot be used as a function a(i,1,n) ^ Main.cc:48:12: error: ‘a’ cannot be used as a function a(i,1,n) ^ Main.cc:55:7: error: ‘k’ was not declared in this scope a(k,1,n) ^ Main.cc:55:12: error: ‘a’ cannot be used as a function a(k,1,n) ^ Main.cc:59:12: error: ‘a’ cannot be used as a function a(i,1,n) ^ Main.cc:62:12: error: ‘a’ cannot be used as a function a(i,1,n) ^ Main.cc:65:12: error: ‘a’ cannot be used as a function a(i,1,n) ^ Main.cc:41:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ~~~~~^~~~~~~~~