Borderou de evaluare (job #2707400)

Utilizator Albert_GAlbert G Albert_G Data 16 februarie 2021 21:55:23
Problema Expresie2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int suma()': main.cpp:34:5: error: expected ',' or ';' before 'int' int smax=sum; ^~~ main.cpp:43:9: error: 'smax' was not declared in this scope smax = max(smax,sum); ^~~~ main.cpp:45:12: error: 'smax' was not declared in this scope return smax; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?