Borderou de evaluare (job #3304547)

Utilizator horatiu.avramAvram Popa Cristian Horatiu horatiu.avram Data 24 iulie 2025 18:33:39
Problema Cuiburi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:5: error: 'MAX' was not declared in this scope; did you mean 'MAXN'? 12 | } v[MAX+5]; | ^~~ | MAXN main.cpp: In function 'bool inside(int, int)': main.cpp:23:8: error: 'v' was not declared in this scope 23 | if(v[ind1].tip==0) { | ^ main.cpp:28:34: error: 'x2' was not declared in this scope; did you mean 'x1'? 28 | if(!insidedreptunghi(x2,y2,v[ind2].x,v[ind2].y,v[ind2].z,v[ind2].t)) | ^~ | x1 main.cpp:28:37: error: 'y2' was not declared in this scope; did you mean 'yn'? 28 | if(!insidedreptunghi(x2,y2,v[ind2].x,v[ind2].y,v[ind2].z,v[ind2].t)) | ^~ | yn main.cpp:30:37: error: 'y2' was not declared in this scope; did you mean 'yn'? 30 | if(!insidedreptunghi(x1,y2,v[ind2].x,v[ind2].y,v[ind2].z,v[ind2].t)) | ^~ | yn main.cpp:32:34: error: 'x2' was not declared in this scope; did you mean 'x1'? 32 | if(!insidedreptunghi(x2,y1,v[ind2].x,v[ind2].y,v[ind2].z,v[ind2].t)) | ^~ | x1 main.cpp:38:28: error: 'x2' was not declared in this scope; did you mean 'x1'? 38 | if(!insidecerc(x2,y2,v[ind2].x,v[ind2].y,v[ind2].z)) | ^~ | x1 main.cpp:38:31: error: 'y2' was not declared in this scope; did you mean 'yn'? 38 | if(!insidecerc(x2,y2,v[ind2].x,v[ind2].y,v[ind2].z)) | ^~ | yn main.cpp:40:28: error: 'x2' was not declared in this scope; did you mean 'x1'? 40 | if(!insidecerc(x2,y1,v[ind2].x,v[ind2].y,v[ind2].z)) | ^~ | x1 main.cpp:42:31: error: 'y2' was not declared in this scope; did you mean 'yn'? 42 | if(!insidecerc(x1,y2,v[ind2].x,v[ind2].y,v[ind2].z)) | ^~ | yn main.cpp: In function 'int main()': main.cpp:65:14: error: 'v' was not declared in this scope 65 | fin>>v[i].tip; | ^ main.cpp:74:10: error: 'v' was not declared in this scope 74 | sort(v+1,v+n+1,compare); | ^ Non zero exit status: 1

Ceva nu functioneaza?