Borderou de evaluare (job #2795381)

Utilizator maco1503Macovei Teodor-Andrei maco1503 Data 6 noiembrie 2021 12:01:28
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'long long int bfs(long long int)': main.cpp:29:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for(int i=0;i<G[nod].size();i++) | ~^~~~~~~~~~~~~~ main.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type] 34 | } | ^ main.cpp: At global scope: main.cpp:37:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 37 | main() | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms3371kbKilled by Signal 110
26ms2928kbKilled by Signal 110
36ms2961kbKilled by Signal 110
46ms2846kbKilled by Signal 110
55ms3452kbKilled by Signal 110
615ms3420kbKilled by Signal 110
74ms3219kbKilled by Signal 110
86ms3014kbKilled by Signal 110
96ms3018kbKilled by Signal 110
106ms3076kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?