Borderou de evaluare (job #2406512)

Utilizator AndreiStrAndrei Stroici AndreiStr Data 15 aprilie 2019 20:12:34
Problema Luna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:34: error: 'int j1' redeclared as different kind of symbol int n,m,t,x,y,z,j,k,a[51][51],k1,j1; ^~ In file included from /usr/include/features.h:367:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:507, from /usr/include/c++/6/cassert:43, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:33, from main.cpp:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:248:1: note: previous declaration 'double j1(double)' __MATHCALL (j1,, (_Mdouble_)); ^ main.cpp: In function 'int main()': main.cpp:27:12: error: assignment of function 'double j1(double)' j1=j; ^ main.cpp:27:12: error: cannot convert 'int' to 'double(double) throw ()' in assignment main.cpp:37:17: error: invalid operands of types 'int' and 'double(double) throw ()' to binary 'operator-' if(j-j1+1==y||j-j1+1==z) ~^~~ main.cpp:37:28: error: invalid operands of types 'int' and 'double(double) throw ()' to binary 'operator-' if(j-j1+1==y||j-j1+1==z) ~^~~ main.cpp:38:29: error: invalid operands of types 'int' and 'double(double) throw ()' to binary 'operator-' bn=true,g<<j-j1+1<<' '; ~^~~ Non zero exit status: 1

Ceva nu functioneaza?