Pagini recente » Borderou de evaluare (job #2409167) | Borderou de evaluare (job #1950308) | Borderou de evaluare (job #594525) | Borderou de evaluare (job #2769145) | Borderou de evaluare (job #2944776)
Borderou de evaluare (job #2944776)
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 |
| 1 | 0ms | 184kb | OK | 5 |
| 2 | 18ms | 679kb | OK | 5 |
| 3 | 77ms | 1855kb | OK | 5 |
| 4 | 634ms | 11718kb | OK | 5 |
| 5 | 674ms | 12881kb | OK | 5 |
| 6 | 648ms | 12857kb | OK | 5 |
| 7 | 670ms | 12926kb | OK | 5 |
| 8 | 632ms | 12935kb | OK | 5 |
| 9 | 497ms | 7716kb | OK | 5 |
| 10 | 356ms | 6107kb | OK | 5 |
| 11 | 439ms | 6766kb | OK | 5 |
| 12 | 359ms | 6098kb | OK | 5 |
| 13 | 575ms | 8331kb | OK | 5 |
| 14 | 464ms | 7168kb | OK | 5 |
| 15 | 479ms | 7364kb | OK | 5 |
| 16 | 888ms | 11579kb | OK | 5 |
| 17 | 963ms | 12603kb | OK | 5 |
| 18 | 954ms | 12484kb | OK | 5 |
| 19 | 1042ms | 12607kb | OK | 5 |
| 20 | 957ms | 12648kb | OK | 5 |
| Punctaj total | 100 |