Borderou de evaluare (job #2794700)

Utilizator schizofrenieShallan Davar schizofrenie Data 5 noiembrie 2021 12:12:28
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:22:5: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 22 | if constexpr (second_pass) | ^~~~~~~~~ main.cpp:42:5: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 42 | if constexpr (second_pass) | ^~~~~~~~~ main.cpp: In function 'int bfs(int) [with bool second_pass = true]': main.cpp:43:16: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized] 43 | return depth[now]; | ^~~ main.cpp: In function 'int bfs(int) [with bool second_pass = false]': main.cpp:45:10: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized] 45 | return now; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms2666kbOK10
26ms2646kbOK10
36ms2666kbOK10
416ms2666kbOK10
535ms3080kbOK10
648ms4173kbOK10
758ms4755kbOK10
8103ms5898kbOK10
9121ms6356kbOK10
10209ms6529kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?