Pagini recente » Borderou de evaluare (job #3265917) | Cod sursa (job #2735246) | Borderou de evaluare (job #3179066) | Borderou de evaluare (job #2514476) | Borderou de evaluare (job #2950760)
Borderou de evaluare (job #2950760)
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 | 3ms | 7393kb | OK | 10 |
| 2 | 4ms | 7393kb | OK | 10 |
| 3 | 125ms | 21688kb | OK | 10 |
| 4 | 98ms | 24870kb | OK | 10 |
| 5 | 63ms | 16506kb | OK | 10 |
| 6 | 209ms | 29929kb | OK | 10 |
| 7 | 277ms | 35061kb | OK | 10 |
| 8 | 385ms | 44249kb | OK | 10 |
| 9 | 566ms | 54775kb | OK | 10 |
| 10 | 485ms | 51269kb | OK | 10 |
| Punctaj total | 100 |