Pagini recente » Borderou de evaluare (job #3238001) | Borderou de evaluare (job #211698) | Borderou de evaluare (job #1978442) | Borderou de evaluare (job #112642) | Borderou de evaluare (job #2950761)
Borderou de evaluare (job #2950761)
Raport evaluator
Compilare:
main.cpp: In function 'void LCA::init(int, int)':
main.cpp:150:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
150 | for(auto [x, e] : g[node]) {
| ^
main.cpp: In function 'void LCA::initrmq()':
main.cpp:170:70: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
170 | 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:204:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
204 | for(auto [x, e] : g[node]) {
| ^
main.cpp: In function 'int CENTR::find(int, int)':
main.cpp:212:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
212 | for(auto [x, e] : g[node]) {
| ^
main.cpp: In function 'void CENTR::add(int, int, int, int)':
main.cpp:222:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
222 | for(auto [x, e] : g[node])
| ^
main.cpp: In function 'int CENTR::decomp(int, int)':
main.cpp:244:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
244 | for(auto [x, e] : g[node]) {
| ^
main.cpp:254:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
254 | for(auto [x, e] : g[node]) {
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 7036kb | OK | 10 |
2 | 5ms | 7393kb | OK | 10 |
3 | 119ms | 21561kb | OK | 10 |
4 | 100ms | 24891kb | OK | 10 |
5 | 62ms | 16560kb | OK | 10 |
6 | 207ms | 29929kb | OK | 10 |
7 | 279ms | 35098kb | OK | 10 |
8 | 383ms | 44179kb | OK | 10 |
9 | 567ms | 54751kb | OK | 10 |
10 | 479ms | 51277kb | OK | 10 |
Punctaj total | 100 |