Borderou de evaluare (job #3308977)
| Utilizator | Data | 30 august 2025 15:26:56 | |
|---|---|---|---|
| Problema | Datorii | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:12:9: error: 'arb' was not declared in this scope
12 | arb[nod] += val;
| ^~~
main.cpp:22:5: error: 'arb' was not declared in this scope
22 | arb[nod] = arb[nod*2] + arb[nod*2+1];
| ^~~
main.cpp: In function 'int query(int, int, int, int, int)':
main.cpp:27:16: error: 'arb' was not declared in this scope
27 | return arb[nod];
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
