Borderou de evaluare (job #3303362)
| Utilizator | Data | 15 iulie 2025 12:04:48 | |
|---|---|---|---|
| Problema | Inv | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void AIB::update(int, int)':
main.cpp:18:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i = x; i < aib.size(); i += lsb(i)) {
| ~~^~~~~~~~~~~~
main.cpp:18:46: error: 'lsb' was not declared in this scope
18 | for (int i = x; i < aib.size(); i += lsb(i)) {
| ^~~
main.cpp: In member function 'long long int AIB::query(int)':
main.cpp:26:37: error: 'lsb' was not declared in this scope
26 | for (int i = x; i > 0; i -= lsb(i)) {
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
