Borderou de evaluare (job #2944776)

Utilizator Cosmin2004_InfoMoldoveanu Cosmin Cosmin2004_Info Data 22 noiembrie 2022 22:29:31
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In constructor 'treap::treap(int)': main.cpp:9:16: warning: 'treap::r' will be initialized after [-Wreorder] 9 | treap *l, *r; | ^ main.cpp:8:10: warning: 'bool treap::rev' [-Wreorder] 8 | bool rev; | ^~~ main.cpp:10:5: warning: when initialized here [-Wreorder] 10 | treap(int x) : x(x), sz(1), pr(rng()), l(NULL), r(NULL), rev(false) {} | ^~~~~ main.cpp: In function 'std::array<treap*, 2> split(treap*, int)': main.cpp:34:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 34 | auto [l, r] = split(t -> l, k); | ^ main.cpp:39:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 39 | auto [l, r] = split(t -> r, k - size(t -> l) - 1); | ^ main.cpp: In function 'std::array<treap*, 3> splice(treap*, int, int)': main.cpp:53:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 53 | auto [aux, r] = split(t, b); | ^ main.cpp:54:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 54 | auto [l, m] = split(aux, a); | ^ main.cpp: In function 'void insert(int, int)': main.cpp:58:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 58 | auto [l, r] = split(root, k); | ^ main.cpp: In function 'void del(int, int)': main.cpp:62:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 62 | auto [l, m, r] = splice(root, a, b); | ^ main.cpp: In function 'void mirror(int, int)': main.cpp:66:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 66 | auto [l, m, r] = splice(root, a, b); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK5
218ms679kbOK5
377ms1855kbOK5
4634ms11718kbOK5
5674ms12881kbOK5
6648ms12857kbOK5
7670ms12926kbOK5
8632ms12935kbOK5
9497ms7716kbOK5
10356ms6107kbOK5
11439ms6766kbOK5
12359ms6098kbOK5
13575ms8331kbOK5
14464ms7168kbOK5
15479ms7364kbOK5
16888ms11579kbOK5
17963ms12603kbOK5
18954ms12484kbOK5
191042ms12607kbOK5
20957ms12648kbOK5
Punctaj total100

Ceva nu functioneaza?