Borderou de evaluare (job #3259580)

Utilizator Minea_TheodorMinea Theodor Stefan Minea_Theodor Data 26 noiembrie 2024 19:37:32
Problema Geometry Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:28:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 28 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:39:60: error: redeclaration of 'int x4' 39 | int x3 = v[j].x1, y3 = v[j].y1, x4 = v[j].x2, x4 = v[j].y2; | ^~ main.cpp:39:46: note: 'int x4' previously declared here 39 | int x3 = v[j].x1, y3 = v[j].y1, x4 = v[j].x2, x4 = v[j].y2; | ^~ main.cpp:42:47: error: 'y4' was not declared in this scope; did you mean 'Y4'? 42 | else if(check(x1, y1, x2, y2, x4, y4)) | ^~ | Y4 Non zero exit status: 1

Ceva nu functioneaza?