Borderou de evaluare (job #2758253)
Utilizator | Data | 9 iunie 2021 12:13:05 | |
---|---|---|---|
Problema | Order | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Updatare(int, int, int, int)':
main.cpp:16:16: error: 'A' was not declared in this scope
AI[node] = A[node * 2] + A[node * 2 + 1];
^
main.cpp: In function 'int Query(int, int, int, int)':
main.cpp:21:24: error: 'st' was not declared in this scope
if (l == r) return st;
^~
main.cpp:23:51: error: 'st' was not declared in this scope
if (AI[2 * node] >= k) return Query(2 * node, st, mij, k);
^~
main.cpp:23:55: error: 'mij' was not declared in this scope
if (AI[2 * node] >= k) return Query(2 * node, st, mij, k);
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !