Borderou de evaluare (job #2945720)

Utilizator elenaaa15Dobre Elena elenaaa15 Data 24 noiembrie 2022 00:47:42
Problema Retea2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:33:9: error: 'centrale' was not declared in this scope 33 | centrale[i].x = x; | ^~~~~~~~ main.cpp:40:9: error: redeclaration of 'int x' 40 | int x, y; | ^ main.cpp:28:9: note: 'int x' previously declared here 28 | int x,y; | ^ main.cpp:40:12: error: redeclaration of 'int y' 40 | int x, y; | ^ main.cpp:28:11: note: 'int y' previously declared here 28 | int x,y; | ^ Non zero exit status: 1

Ceva nu functioneaza?