Pagini recente » Borderou de evaluare (job #1919389) | Cod sursa (job #597635) | Borderou de evaluare (job #1925043) | Monitorul de evaluare | Borderou de evaluare (job #2846611)
Borderou de evaluare (job #2846611)
Raport evaluator
Compilare:
main.cpp: In function 'std::array<treap*, 2> split(treap*, int)':
main.cpp:31:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
31 | auto [res_left, res_right] = split(t -> left, key);
| ^
main.cpp:36:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
36 | auto [res_left, res_right] = split(t -> right, key - size(t -> left) - 1);
| ^
main.cpp: In function 'void insert(int, int)':
main.cpp:59:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
59 | auto [l, r] = split(root, pos);
| ^
main.cpp: In function 'void erase(int, int)':
main.cpp:64:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
64 | auto [l, r1] = split(root, lpos);
| ^
main.cpp:65:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
65 | auto [l1, r] = split(r1, rpos - lpos);
| ^
main.cpp: In function 'void reverse(int, int)':
main.cpp:77:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
77 | auto [l, r1] = split(root, lpos);
| ^
main.cpp:78:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
78 | auto [l1, r] = split(r1, rpos - lpos);
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 54ms | 3870kb | OK | 10 |
| 4 | 68ms | 5107kb | OK | 10 |
| 5 | 135ms | 5169kb | OK | 10 |
| 6 | 87ms | 5169kb | OK | 10 |
| 7 | 130ms | 3518kb | OK | 10 |
| 8 | 154ms | 3993kb | OK | 10 |
| 9 | 144ms | 4694kb | OK | 10 |
| 10 | 177ms | 5206kb | OK | 10 |
| Punctaj total | 100 |