Pagini recente » Borderou de evaluare (job #478861) | Borderou de evaluare (job #1678930) | Borderou de evaluare (job #2637414) | Borderou de evaluare (job #1072829) | Borderou de evaluare (job #2936765)
Borderou de evaluare (job #2936765)
Raport evaluator
Compilare:
main.cpp: In function 'void SegTree::init(std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&)':
main.cpp:30:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
30 | for (auto [a, b] : cons) {
| ^
main.cpp: In function 'int SegTree::update(int, int, int, int, int)':
main.cpp:53:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<SegTree::Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | if (nodes > T.size()) T.emplace_back();
| ~~~~~~^~~~~~~~~~
main.cpp: In function 'bool SegTree::check(int)':
main.cpp:132:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
132 | for (auto [x, typ, i] : evs) {
| ^
main.cpp:119:27: warning: unused variable 'ptrp' [-Wunused-variable]
119 | int ptrl = 0, ptrr = 0, ptrp = 0;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 708kb | OK | 10 | 100 |
2 | 5ms | 708kb | OK | 10 |
3 | 9ms | 1101kb | OK | 10 |
4 | 138ms | 5763kb | OK | 10 |
5 | 148ms | 5685kb | OK | 10 |
6 | 110ms | 4829kb | OK | 10 |
7 | 169ms | 6692kb | OK | 10 |
8 | 97ms | 3772kb | OK | 10 |
9 | 100ms | 4349kb | OK | 10 |
10 | 59ms | 3551kb | OK | 10 |
Punctaj total | 100 |