Borderou de evaluare (job #2974550)

Utilizator ONLYGODYBochis Andrei ONLYGODY Data 4 februarie 2023 10:25:40
Problema Panda Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:24:37: error: 'K' has not been declared 24 | int pandaCodeInReverseBinary(int k, K[]){ | ^ main.cpp: In function 'int pandaCodeInReverseBinary(int, int*)': main.cpp:25:21: error: 'K' was not declared in this scope 25 | for (int i = 0; K > 0; ++i){ | ^ main.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type] 29 | } | ^ main.cpp: In function 'int main()': main.cpp:33:84: error: 'code' was not declared in this scope 33 | fi >> problem >> n >> m >> hangarsWithFood >> startingRow >> startingColumn >> code >> s; | ^~~~ main.cpp:32:35: warning: unused variable 'pandaCode' [-Wunused-variable] 32 | int n, m, hangarsWithFood, s, pandaCode, pandaCodeInBinary[15], startingRow, startingColumn, problem, reservation[501][501], hangarCode; | ^~~~~~~~~ main.cpp:32:46: warning: unused variable 'pandaCodeInBinary' [-Wunused-variable] 32 | int n, m, hangarsWithFood, s, pandaCode, pandaCodeInBinary[15], startingRow, startingColumn, problem, reservation[501][501], hangarCode; | ^~~~~~~~~~~~~~~~~ main.cpp:32:107: warning: unused variable 'reservation' [-Wunused-variable] 32 | int n, m, hangarsWithFood, s, pandaCode, pandaCodeInBinary[15], startingRow, startingColumn, problem, reservation[501][501], hangarCode; | ^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?