Borderou de evaluare (job #1371919)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 4 martie 2015 10:18:22
Problema Dreptunghiuri3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:9: error: ‘int j1’ redeclared as different kind of symbol int i1, j1, i2, j2; ^ In file included from /usr/include/features.h:357:0, from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39, from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420, from /usr/include/c++/4.8/iosfwd:38, from /usr/include/c++/4.8/ios:38, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/i386-linux-gnu/bits/mathcalls.h:240:1: error: previous declaration of ‘double j1(double)’ __MATHCALL (j1,, (_Mdouble_)); ^ user.cpp: In function ‘void SetUp()’: user.cpp:24:42: warning: operation on ‘L’ may be undefined [-Wsequence-point] lin[++L].f = lin[L].s = A[i][1]; ^ user.cpp:25:42: warning: operation on ‘L’ may be undefined [-Wsequence-point] lin[++L].f = lin[L].s = A[i][3]; ^ user.cpp:26:42: warning: operation on ‘C’ may be undefined [-Wsequence-point] col[++C].f = col[C].s = A[i][2]; ^ user.cpp:27:42: warning: operation on ‘C’ may be undefined [-Wsequence-point] col[++C].f = col[C].s = A[i][4]; ^ user.cpp: In function ‘void Mars_Smen()’: user.cpp:85:14: error: assignment of function ‘double j1(double)’ j1 = A[i][2]; ^ user.cpp:85:14: error: cannot convert ‘long long int’ to ‘double(double)throw ()’ in assignment user.cpp:86:34: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] for(j = 1; col[j].s != j1; j ++){ ^ user.cpp:88:14: error: assignment of function ‘double j1(double)’ j1 = col[j].f; ^ user.cpp:88:14: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment user.cpp:95:19: error: invalid types ‘long long int [4096][double(double)throw ()]’ for array subscript D[i1][j1] += A[i][5]; ^ user.cpp:96:21: error: invalid types ‘long long int [4096][double(double)throw ()]’ for array subscript D[i2+1][j1] -= A[i][5]; ^

Ceva nu functioneaza?