Borderou de evaluare (job #2937732)

Utilizator wowwow3Wow wow wowwow3 Data 10 noiembrie 2022 21:33:01
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:27:17: error: 'a' was not declared in this scope 27 | fin >> a[i].x >> a[i].y; | ^ main.cpp:37:42: error: 'a' was not declared in this scope 37 | double costact = sqrt(1ll * (a[j].y - bl[i].y) * (a[j].y - bl[i].y)+ 1ll *(a[j].x - bl[i].x) * (a[j].x - bl[i].x)); | ^ main.cpp: At global scope: main.cpp:17:3: warning: 'cen' defined but not used [-Wunused-variable] 17 | } cen[2001], bl[2001]; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?