Borderou de evaluare (job #3231494)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 26 mai 2024 20:43:49
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void generateGcdColumns(int, int, int)': main.cpp:32:48: error: 'log2' was not declared in this scope 32 | for (int powerIndex = 1; powerIndex <= log2(columnCount); powerIndex++) | ^~~~ main.cpp:37:35: error: 'log2' was not declared in this scope 37 | int powerIndex = (int)log2(width); | ^~~~ main.cpp: In function 'void generateGcdLines(int, int, int)': main.cpp:50:48: error: 'log2' was not declared in this scope 50 | for (int powerIndex = 1; powerIndex <= log2(lineCount); powerIndex++) | ^~~~ main.cpp:55:35: error: 'log2' was not declared in this scope 55 | int powerIndex = (int)log2(height); | ^~~~ main.cpp: In function 'int main()': main.cpp:77:59: warning: unused variable 'value' [-Wunused-variable] 77 | int testCount, lineCount, columnCount, height, width, value; | ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?