Pagini recente » Borderou de evaluare (job #1356755) | Borderou de evaluare (job #1865677) | Borderou de evaluare (job #778674) | Borderou de evaluare (job #1862626) | Borderou de evaluare (job #2846556)
Borderou de evaluare (job #2846556)
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 [res_left, res_right] = split(t -> left, key);
| ^
main.cpp:32:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
32 | auto [res_left, res_right] = split(t -> right, key - size(t -> left) - 1);
| ^
main.cpp: In function 'void insert(int, char)':
main.cpp:66:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
66 | auto [l, r] = split(root, pos);
| ^
main.cpp: In function 'int query(int, int)':
main.cpp:71:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
71 | auto [l, r1] = split(root, lpos);
| ^
main.cpp:72:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
72 | auto [l1, r] = split(r1, rpos - lpos);
| ^
main.cpp: In function 'int main()':
main.cpp:99:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for(int j = 0; j < s[i].length(); j++)
| ~~^~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 54ms | 1142kb | OK | 10 |
2 | 25ms | 1216kb | OK | 10 |
3 | 435ms | 4390kb | OK | 10 |
4 | 387ms | 3837kb | OK | 10 |
5 | 387ms | 3825kb | OK | 10 |
6 | 352ms | 4157kb | OK | 10 |
7 | 353ms | 4333kb | OK | 10 |
8 | 396ms | 4026kb | OK | 10 |
9 | 343ms | 4153kb | OK | 10 |
10 | 344ms | 4550kb | OK | 10 |
Punctaj total | 100 |