Borderou de evaluare (job #2976315)

Utilizator robertapopescuPopescu Roberta Andreea robertapopescu Data 8 februarie 2023 22:22:10
Problema Snooker Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Citire()': main.cpp:15:7: error: 'K' was not declared in this scope 15 | fin>>K; | ^ main.cpp: In function 'void Afisare()': main.cpp:24:16: error: 'tinte' was not declared in this scope; did you mean 'finite'? 24 | fout << atan2(tinte.i[y] - alb.y, tinte[i].x - alb.x) << "\n"; | ^~~~~ | finite main.cpp:24:24: error: 'y' was not declared in this scope 24 | fout << atan2(tinte.i[y] - alb.y, tinte[i].x - alb.x) << "\n"; | ^ main.cpp:24:42: error: 'i' was not declared in this scope 24 | fout << atan2(tinte.i[y] - alb.y, tinte[i].x - alb.x) << "\n"; | ^ main.cpp: In function 'void copietinte(int, int, int)': main.cpp:60:3: error: 'tinte' was not declared in this scope; did you mean 'finite'? 60 | tinte[pozt].x = x + negru.x; | ^~~~~ | finite main.cpp:65:3: error: 'tinte' was not declared in this scope; did you mean 'finite'? 65 | tinte[pozt].x = x + coord_bile_x->x; | ^~~~~ | finite main.cpp:70:3: error: 'tinte' was not declared in this scope; did you mean 'finite'? 70 | tinte[pozt].x = x + coord_bile_y + x; | ^~~~~ | finite main.cpp:73:11: error: 'uloare' was not declared in this scope; did you mean 'culoare'? 73 | else if (uloare == 3) | ^~~~~~ | culoare main.cpp:75:3: error: 'tinte' was not declared in this scope; did you mean 'finite'? 75 | tinte[pozt].x = x + coord_bile_x_y + x; | ^~~~~ | finite main.cpp: At global scope: main.cpp:86:18: error: 'punct' was not declared in this scope; did you mean 'Punct'? 86 | bool intersectie(punct q, punct p) | ^~~~~ | Punct main.cpp:86:27: error: 'punct' was not declared in this scope; did you mean 'Punct'? 86 | bool intersectie(punct q, punct p) | ^~~~~ | Punct main.cpp:86:34: error: expression list treated as compound expression in initializer [-fpermissive] 86 | bool intersectie(punct q, punct p) | ^ main.cpp: In function 'int main()': main.cpp:131:17: warning: left operand of comma operator has no effect [-Wunused-value] Non zero exit status: 1

Ceva nu functioneaza?