Borderou de evaluare (job #2986385)

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

Raport evaluator

Compilare: main.cpp: In function 'void aib::add(int, int)': main.cpp:15:14: 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:18: 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) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:106:9: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 106 | auto [got, poz] = aib::under_upper(sum); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
48ms446kbOK10
524ms569kbOK10
639ms798kbOK10
739ms856kbOK10
859ms1052kbOK10
958ms1093kbOK10
1059ms1007kbOK10
Punctaj total100

Ceva nu functioneaza?