Borderou de evaluare (job #2794697)

Utilizator schizofrenieShallan Davar schizofrenie Data 5 noiembrie 2021 12:08:43
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int bfs(int)': main.cpp:19:5: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 19 | if constexpr (second_pass) { | ^~~~~~~~~ main.cpp:39:5: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 39 | if constexpr (second_pass) | ^~~~~~~~~ main.cpp: In function 'int bfs(int) [with bool second_pass = false]': main.cpp:42:10: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized] 42 | return now; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms2568kbOK10
25ms3051kbOK10
313ms2564kbOK10
45ms3059kbOK10
59ms2867kbOK10
647ms4239kbOK10
7110ms4759kbOK10
8118ms5689kbOK10
9126ms5877kbOK10
10202ms6488kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?