Borderou de evaluare (job #2578533)

Utilizator mihaimodiMihai Modi mihaimodi Data 11 martie 2020 11:10:51
Problema Rest Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void update(int, int, int)': main.cpp:14:19: error: 'val' was not declared in this scope aint[nod]=val; ^~~ main.cpp:18:8: error: 'poz' was not declared in this scope if(poz<=mid) ^~~ main.cpp: In function 'int main()': main.cpp:45:14: error: 'val' was not declared in this scope fin>>val; ^~~ main.cpp:54:13: error: 'val' was not declared in this scope val=y,poz=x; ^~~ main.cpp:54:19: error: 'poz' was not declared in this scope val=y,poz=x; ^~~ main.cpp:55:29: error: too many arguments to function 'void update(int, int, int)' update(1,y,1,n,x); ^ main.cpp:10:6: note: declared here void update(int nod, int st, int dr) ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?