Borderou de evaluare (job #3136207)

Utilizator TheAndreiEnache Andrei Alexandru TheAndrei Data 5 iunie 2023 17:17:37
Problema Parcare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solver(car&, int, int, int, char)': main.cpp:204:42: error: expected primary-expression before ';' token 204 | for(d=maxDist(cars[i], 3);d>=; d--){ | ^ main.cpp:228:43: error: 'dii' was not declared in this scope; did you mean 'dir'? 228 | for(d=maxDist(cars[i], 4);d>0;dii){ | ^~~ | dir main.cpp: In function 'int main()': main.cpp:280:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 280 | if(d=maxDist(cars[i], 1)){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:285:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 285 | if(d=maxDist(cars[i], 3)){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:292:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 292 | if(d=maxDist(cars[i], 2)){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:297:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 297 | if(d=maxDist(cars[i], 4)){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int maxDist(car&, int)': main.cpp:167:1: warning: control reaches end of non-void function [-Wreturn-type] 167 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?