Borderou de evaluare (job #2986383)

Utilizator the_horoHorodniceanu Andrei the_horo Data 28 februarie 2023 15:01:55
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void aib::add(int, int)': main.cpp:15:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | for (; poz < m_storage.size(); poz += poz & (-poz)) | ~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'std::pair<int, int> aib::under_upper(int)': main.cpp:42:39: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | if (pretender < m_storage.size() && sum + m_storage[pretender] <= target) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
31ms303kbOK10
44ms303kbOK10
59ms471kbOK10
614ms671kbIncorect0
719ms827kbIncorect0
824ms942kbIncorect0
928ms1040kbIncorect0
1024ms942kbIncorect0
Punctaj total50

Ceva nu functioneaza?