Borderou de evaluare (job #2503521)

Utilizator gabriel_froneaFronea Gabriel gabriel_fronea Data 3 decembrie 2019 12:31:17
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 patrata()': main.cpp:47:50: error: 'nth_element' was not declared in this scope nth_element(v.begin(), v.begin()+poz, v.end()); ^ main.cpp: In function 'int factor()': main.cpp:58:25: error: too many arguments to function 'int rotunde()' rotunde(s[p]); ^ main.cpp:17:5: note: declared here int rotunde() ^~~~~~~ main.cpp:59:13: error: 'sum' was not declared in this scope sum+=s[p]; ^~~ main.cpp:64:25: error: 'patrate' was not declared in this scope patrate(s[p]); ^ main.cpp:65:13: error: 'sum' was not declared in this scope sum+=s[p]; ^~~ main.cpp:68:12: error: 'sum' was not declared in this scope return sum; ^~~ Non zero exit status: 1

Ceva nu functioneaza?