Pagini recente » Borderou de evaluare (job #2382753) | Borderou de evaluare (job #34734) | Borderou de evaluare (job #2374169) | Borderou de evaluare (job #1190829) | Borderou de evaluare (job #2950754)
Borderou de evaluare (job #2950754)
Raport evaluator
Compilare:
main.cpp: In function 'void LCA::init(int, int)':
main.cpp:35:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
35 | for(auto [x, e] : g[node]) {
| ^
main.cpp: In function 'void LCA::initrmq()':
main.cpp:55:70: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
55 | rmq[step][i] = merge(rmq[step - 1][i], rmq[step - 1][i + (1 << step - 1)]);
| ~~~~~^~~
main.cpp: In function 'int CENTR::init(int, int)':
main.cpp:89:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
89 | for(auto [x, e] : g[node]) {
| ^
main.cpp: In function 'int CENTR::find(int, int)':
main.cpp:97:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
97 | for(auto [x, e] : g[node]) {
| ^
main.cpp: In function 'void CENTR::add(int, int, int, int)':
main.cpp:107:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
107 | for(auto [x, e] : g[node])
| ^
main.cpp: In function 'int CENTR::decomp(int, int)':
main.cpp:129:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
129 | for(auto [x, e] : g[node]) {
| ^
main.cpp:139:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
139 | for(auto [x, e] : g[node]) {
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 7393kb | OK | 10 |
2 | 5ms | 7262kb | OK | 10 |
3 | 132ms | 21585kb | OK | 10 |
4 | 119ms | 24903kb | OK | 10 |
5 | 68ms | 16506kb | OK | 10 |
6 | 219ms | 29958kb | OK | 10 |
7 | 294ms | 35106kb | OK | 10 |
8 | 403ms | 44183kb | OK | 10 |
9 | 588ms | 54697kb | OK | 10 |
10 | 498ms | 51302kb | OK | 10 |
Punctaj total | 100 |