Borderou de evaluare (job #2831485)

Utilizator VladS23Vlad Seba VladS23 Data 11 ianuarie 2022 15:49:04
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void update(int, int)': main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (int i = x; i < aib.size(); i += last_bit(i)) | ~~^~~~~~~~~~~~ main.cpp: In function 'int query(int)': main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 31 | for (int i = x; i >= 1; i -= last_bit(i)) | ^~~ main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 33 | return sol; | ^~~~~~ main.cpp: In function 'int bs(int)': main.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | if (ans + pas >= aib.size()) continue; | ~~~~~~~~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbIncorect0
22ms184kbIncorect0
36ms663kbIncorect0
430ms741kbIncorect0
564ms872kbIncorect0
697ms974kbIncorect0
7103ms970kbIncorect0
8146ms1110kbIncorect0
9146ms1126kbIncorect0
10146ms1110kbIncorect0
Punctaj total0

Ceva nu functioneaza?