Pagini recente » Borderou de evaluare (job #2971581) | Borderou de evaluare (job #1396600) | Borderou de evaluare (job #1541813) | Borderou de evaluare (job #2312381) | Borderou de evaluare (job #2950333)
Borderou de evaluare (job #2950333)
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 [l, r] = split(t -> l, k);
| ^
main.cpp:32:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
32 | auto [l, r] = split(t -> r, k - size(t -> l) - 1);
| ^
main.cpp: In function 'void update(treap*, int, int)':
main.cpp:56:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
56 | auto [l, r1] = split(root, x);
| ^
main.cpp:57:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
57 | auto [l1, r] = split(r1, y - x);
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | OK | 10 |
3 | 21ms | 3866kb | OK | 10 |
4 | 30ms | 5107kb | OK | 10 |
5 | 57ms | 5115kb | OK | 10 |
6 | 34ms | 5099kb | OK | 10 |
7 | 55ms | 3477kb | OK | 10 |
8 | 64ms | 3923kb | OK | 10 |
9 | 65ms | 4644kb | OK | 10 |
10 | 84ms | 5144kb | OK | 10 |
Punctaj total | 100 |