Borderou de evaluare (job #2838493)

Utilizator Cosmin2004_InfoMoldoveanu Cosmin Cosmin2004_Info Data 23 ianuarie 2022 19:51:15
Problema Compact3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:50:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 50 | auto [range_left, range_right] = occurrences[v[i].first]; | ^ main.cpp:51:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 51 | auto [min_val, max_val] = min_on_segment.query(range_left, range_right + 1); | ^ main.cpp:52:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 52 | auto [left, right] = min_on_interval.query(min_val, max_val + 1); | ^ main.cpp: In instantiation of 'Segtree<T>::Segtree(Iterator, Iterator, T, std::function<T(T, T)>) [with Iterator = std::pair<int, int>*; T = std::pair<int, int>]': main.cpp:46:62: required from here main.cpp:10:94: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 10 | n = distance(first, last); h = sizeof(int) * 8 - __builtin_clz(n); t.resize(1LL << h + 1, neutral); | ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK11
36ms4526kbOK14
46ms4476kbOK14
5711ms53645kbOK9
6711ms52981kbOK9
7766ms52785kbOK7
8773ms52850kbOK6
9716ms53358kbOK10
10677ms52850kbOK10
Punctaj total100

Ceva nu functioneaza?