Borderou de evaluare (job #2890152)

Utilizator petru-robuRobu Petru petru-robu Data 14 aprilie 2022 18:22:22
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 lazyQuery(int, int, int, int, int)': main.cpp:74:25: error: 'p2' was not declared in this scope; did you mean 'p1'? 74 | int m = (st+dr)/2, p1=p2=0; | ^~ | p1 main.cpp:75:6: error: 'stq' was not declared in this scope; did you mean 'st'? 75 | if(stq<=m) | ^~~ | st main.cpp:76:37: error: 'drq' was not declared in this scope; did you mean 'dr'? 76 | p1=lazyQuery(2*nod, st, m, stq, drq); | ^~~ | dr main.cpp:77:6: error: 'drq' was not declared in this scope; did you mean 'dr'? 77 | if(drq>m) | ^~~ | dr main.cpp:78:36: error: 'stq' was not declared in this scope; did you mean 'st'? 78 | p2=lazyQuery(2*nod+1, m+1, dr, stq, drq); | ^~~ | st Non zero exit status: 1

Ceva nu functioneaza?