Borderou de evaluare (job #2832691)

Utilizator MerlinTheWizardMelvin Abibula MerlinTheWizard Data 14 ianuarie 2022 09:59:39
Problema AI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int lee(coord, coord)': main.cpp:110:71: error: 'pasi' was not declared in this scope 110 | return vis[target.x][target.y]; return pasi; | ^~~~ main.cpp: In function 'int* Solution(coord, coord)': main.cpp:144:20: error: 'startpoint' was not declared in this scope 144 | endpoint.x=startpoint.x+((abs(tinta.x-laser.x)+1)/dif)*direction.x; | ^~~~~~~~~~ main.cpp:151:16: warning: address of local variable 'pasi' returned [-Wreturn-local-addr] 151 | return pasi; | ^~~~ main.cpp:134:9: note: declared here 134 | int pasi[1001],length=0; | ^~~~ main.cpp:154:1: warning: control reaches end of non-void function [-Wreturn-type] 154 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?