Borderou de evaluare (job #2846556)

Utilizator Cosmin2004_InfoMoldoveanu Cosmin Cosmin2004_Info Data 9 februarie 2022 12:24:44
Problema Sir8 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::array<treap*, 2> split(treap*, int)': main.cpp:27:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 27 | auto [res_left, res_right] = split(t -> left, key); | ^ main.cpp:32:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 32 | auto [res_left, res_right] = split(t -> right, key - size(t -> left) - 1); | ^ main.cpp: In function 'void insert(int, char)': main.cpp:66:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 66 | auto [l, r] = split(root, pos); | ^ main.cpp: In function 'int query(int, int)': main.cpp:71:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 71 | auto [l, r1] = split(root, lpos); | ^ main.cpp:72:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 72 | auto [l1, r] = split(r1, rpos - lpos); | ^ main.cpp: In function 'int main()': main.cpp:99:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | for(int j = 0; j < s[i].length(); j++) | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
154ms1142kbOK10
225ms1216kbOK10
3435ms4390kbOK10
4387ms3837kbOK10
5387ms3825kbOK10
6352ms4157kbOK10
7353ms4333kbOK10
8396ms4026kbOK10
9343ms4153kbOK10
10344ms4550kbOK10
Punctaj total100

Ceva nu functioneaza?