Borderou de evaluare (job #3351920)
| Utilizator | Data | 22 aprilie 2026 12:17:19 | |
|---|---|---|---|
| Problema | Luffpar | 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, int)':
main.cpp:18:25: error: expected ';' before 'return'
18 | lazy[nod] += val
| ^
| ;
19 | return;
| ~~~~~~
main.cpp:22:5: error: 'do_lazy' was not declared in this scope; did you mean 'lazy'?
22 | do_lazy(nod, st, dr);
| ^~~~~~~
| lazy
main.cpp: In function 'int query(int, int, int, int, int)':
main.cpp:38:9: error: 'lazy' cannot be used as a function
38 | lazy(nod, st, dr);
| ~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:64:19: error: too few arguments to function 'void update(int, int, int, int, int, int)'
64 | update(1, 1, n, b, c);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:8:6: note: declared here
8 | void update(int nod, int st, int dr, int l, int r, int val)
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
