Borderou de evaluare (job #2117257)

Utilizator triscacezarTrisca Vicol Cezar triscacezar Data 28 ianuarie 2018 18:38:13
Problema Procente Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:36: error: ‘int j1’ redeclared as different kind of symbol int n,x,cnt2,cnt5,val2,val5,i,j,i1,j1,p1; ^ In file included from /usr/include/features.h:357:0, from /usr/include/assert.h:37, from /usr/include/c++/4.8/cassert:43, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:33, 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 ‘int main()’: user.cpp:25:23: error: assignment of function ‘double j1(double)’ for(j1=0;j1<=cnt2-i;j1++) ^ user.cpp:25:23: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment user.cpp:25:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] for(j1=0;j1<=cnt2-i;j1++) ^ user.cpp:25:39: error: ISO C++ forbids incrementing a pointer of type ‘double (*)(double)throw ()’ [-fpermissive] for(j1=0;j1<=cnt2-i;j1++) ^ user.cpp:25:39: error: lvalue required as increment operand user.cpp:27:38: warning: pointer to a function used in arithmetic [-Wpointer-arith] dyn[i1+1][j1+i][p1+j]+=dyn[i1][j1][p1]; ^ user.cpp:27:39: error: invalid types ‘long long int [200][200][double (*)(double)throw ()]’ for array subscript dyn[i1+1][j1+i][p1+j]+=dyn[i1][j1][p1]; ^ user.cpp:27:58: error: invalid types ‘long long int [200][200][double(double)throw ()]’ for array subscript dyn[i1+1][j1+i][p1+j]+=dyn[i1][j1][p1]; ^

Ceva nu functioneaza?