Borderou de evaluare (job #2458428)

Utilizator AndreiVisoiuAndrei Visoiu AndreiVisoiu Data 20 septembrie 2019 15:42:12
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void update(int, int)': main.cpp:13:11: error: 'poz' was not declared in this scope while(poz <= N) { ^~~ main.cpp:14:21: error: 'val' was not declared in this scope aib[poz] += val; ^~~ main.cpp: In function 'int bs(int)': main.cpp:34:20: error: 'val' was not declared in this scope if(s < val) p = m+1; ^~~ main.cpp: In function 'int main()': main.cpp:56:22: error: expected primary-expression before '>' token in >>> x >> y; ^ Non zero exit status: 1

Ceva nu functioneaza?