Borderou de evaluare (job #3273714)

Utilizator Mihai_OctMihai Octavian Mihai_Oct Data 3 februarie 2025 16:48:33
Problema SequenceQuery Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'Nod Query(int, int, int, int, int)': main.cpp:63:12: error: 'poz' was not declared in this scope; did you mean 'pow'? 63 | if(poz <= mij) q1 = Query(st , mij, poz, val, 2 * nod); | ^~~ | pow main.cpp:63:54: error: 'val' was not declared in this scope 63 | if(poz <= mij) q1 = Query(st , mij, poz, val, 2 * nod); | ^~~ main.cpp:64:19: error: 'poz' was not declared in this scope; did you mean 'pow'? 64 | if(mij < poz) q2 = Query(mij + 1, dr , poz, val, 2 * nod + 1); | ^~~ | pow main.cpp:64:54: error: 'val' was not declared in this scope 64 | if(mij < poz) q2 = Query(mij + 1, dr , poz, val, 2 * nod + 1); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?