Borderou de evaluare (job #3212921)

Utilizator XIIs12sPeteleu Denis Andrei XIIs12s Data 12 martie 2024 12:02:25
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:54:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 54 | for(int i=1;i<=n;i++) | ^~~ main.cpp:56:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 56 | bulid(1,1,n); | ^~~~~ main.cpp:66:15: error: too few arguments to function 'void update(int, int, int, int, int)' 66 | update(1,1,a,b); | ~~~~~~^~~~~~~~~ main.cpp:21:6: note: declared here 21 | void update(int node, int left, int right, int position, int newval) | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?