Borderou de evaluare (job #2950557)
Raport evaluator
Compilare:
main.cpp: In member function 'std::array<int, 2> Treap::split(int, int)':
main.cpp:34:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
34 | auto [l, r] = split(T[t].l, k);
| ^
main.cpp:39:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
39 | auto [l, r] = split(T[t].r, k - T[T[t].l].sz - 1);
| ^
main.cpp: In member function 'std::array<int, 3> Treap::splice(int, int, int)':
main.cpp:46:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
46 | auto [aux, r] = split(t, b);
| ^
main.cpp:47:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
47 | auto [l, m] = split(aux, a);
| ^
main.cpp: In member function 'void Treap::reverse(int, int)':
main.cpp:60:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
60 | auto [l, m, r] = splice(root, a - 1, b);
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | OK | 10 |
3 | 18ms | 2674kb | OK | 10 |
4 | 22ms | 2674kb | OK | 10 |
5 | 50ms | 2732kb | OK | 10 |
6 | 32ms | 2723kb | OK | 10 |
7 | 48ms | 2732kb | OK | 10 |
8 | 60ms | 2723kb | OK | 10 |
9 | 52ms | 2732kb | OK | 10 |
10 | 68ms | 2732kb | OK | 10 |
Punctaj total | 100 |