Main.cc:6:5: warning: integer overflow in expression [-Woverflow] }e[N*N]; ~^~ Main.cc:6:7: error: overflow in constant expression }e[N*N]; ^ Main.cc:6:7: error: size of array ‘e’ is too large Main.cc: In function ‘int kru()’: Main.cc:20:7: error: ‘e’ was not declared in this scope sort(e+1,e+k+1,cmp); ^ Main.cc:25:10: error: ‘fb’ was not declared in this scope if(fa!=fb){ ^~ Main.cc:25:10: note: suggested alternative: ‘fa’ if(fa!=fb){ ^~ fa Main.cc: In function ‘int main()’: Main.cc:41:9: error: ‘e’ was not declared in this scope k++,e[k]={i,j,t}; ^