Pagini recente » Borderou de evaluare (job #99329) | Borderou de evaluare (job #3270509) | Borderou de evaluare (job #2250552) | Borderou de evaluare (job #310456) | Borderou de evaluare (job #2886631)
Borderou de evaluare (job #2886631)
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 | 1ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 52ms | 3862kb | OK | 10 |
4 | 68ms | 5115kb | OK | 10 |
5 | 128ms | 5054kb | OK | 10 |
6 | 90ms | 5169kb | OK | 10 |
7 | 105ms | 3457kb | OK | 10 |
8 | 124ms | 3903kb | OK | 10 |
9 | 142ms | 4612kb | OK | 10 |
10 | 148ms | 5091kb | OK | 10 |
Punctaj total | 100 |