Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3267800)
| Utilizator | Data | 12 ianuarie 2025 13:17:41 | |
|---|---|---|---|
| Problema | Arbori indexati binar | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'void Fenwick::build(std::vector<long long int>&)':
main.cpp:96:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | if((i|(i+1))<fw.size()) fw[i|(i+1)] += fw[i];
| ~~~~~~~~~^~~~~~~~~~
main.cpp: In member function 'void Fenwick::update(long long int, long long int)':
main.cpp:101:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for(;pos<fw.size();pos|=pos+1) fw[pos] += val;
| ~~~^~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 2ms | 303kb | OK | 10 |
| 4 | 6ms | 819kb | OK | 10 |
| 5 | 14ms | 1134kb | OK | 10 |
| 6 | 19ms | 1646kb | OK | 10 |
| 7 | 19ms | 1974kb | OK | 10 |
| 8 | 34ms | 2375kb | OK | 10 |
| 9 | 33ms | 2400kb | OK | 10 |
| 10 | 34ms | 2375kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
