Borderou de evaluare (job #2983768)

Utilizator AndreiMLCChesauan Andrei AndreiMLC Data 22 februarie 2023 22:24:03
Problema Cautare binara 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:27:23: error: 'upper_bound' was not declared in this scope 27 | int poz = upper_bound(v, v+n, nr) - v - 1; | ^~~~~~~~~~~ main.cpp:38:23: error: 'upper_bound' was not declared in this scope 38 | int poz = upper_bound(v, v + n, nr) - v - 1; | ^~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?