Borderou de evaluare (job #2074184)

Utilizator TeoMiliMilitaru Teodora TeoMili Data 24 noiembrie 2017 10:21:30
Problema ZParcurgere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:16:14: error: ‘x’ was not declared in this scope cin>>x>>y; ^ user.cpp:16:17: error: ‘y’ was not declared in this scope cin>>x>>y; ^ user.cpp:17:12: error: incompatible types in assignment of ‘int’ to ‘int [1001]’ l=c=1; ^ user.cpp:18:9: error: ‘L’ was not declared in this scope L=n/2; ^ user.cpp:20:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(l==1 && c==1) //cadranul 1 ^ user.cpp:20:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(l==1 && c==1) //cadranul 1 ^ user.cpp:21:13: error: expected primary-expression before ‘else’ else ^ user.cpp:21:13: error: expected ‘;’ before ‘else’ user.cpp:27:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(c==1 && l==n/2+1){ //cadranul 3 ^ user.cpp:27:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(c==1 && l==n/2+1){ //cadranul 3 ^

Ceva nu functioneaza?