Borderou de evaluare (job #3229329)

Utilizator AlexPlesescuAlexPlesescu AlexPlesescu Data 15 mai 2024 10:59:30
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int get_min(int, int)': main.cpp:24:23: error: 'st' was not declared in this scope; did you mean 'std'? 24 | if (depth[rmq[lg][st]] <= depth[rmq[lg][r - (1 << lg) + 1]) | ^~ | std main.cpp:24:63: error: expected ']' before ')' token 24 | if (depth[rmq[lg][st]] <= depth[rmq[lg][r - (1 << lg) + 1]) | ^ | ] main.cpp: In function 'int main()': main.cpp:52:98: error: expected ']' before ')' token 52 | if (j + (1 << i) <= sz && depth[rmq[i - 1][j]] > depth[rmq[i - 1][j + (1 << (i - 1))]) | ^ | ] Non zero exit status: 1

Ceva nu functioneaza?