Borderou de evaluare (job #2935562)

Utilizator matthriscuMatt . matthriscu Data 6 noiembrie 2022 22:34:39
Problema Permutari Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int lccm(int, int)': main.cpp:7:9: error: 'lcm' was not declared in this scope; did you mean 'lccm'? 7 | return lcm(a, b); | ^~~ | lccm main.cpp: In function 'int main()': main.cpp:36:75: error: 'lcm' was not declared in this scope; did you mean 'lccm'? 36 | fout << accumulate(lengths.begin(), lengths.end(), 1, (int (*)(int, int))lcm) << '\n'; | ^~~ | lccm Non zero exit status: 1

Ceva nu functioneaza?