Borderou de evaluare (job #3145603)

Utilizator G3K0Airinei Gabriel Vlad G3K0 Data 16 august 2023 14:12:30
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void bfs(int)': main.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 19 | for(int i=0;i<v[nod].size();i++) | ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:41:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 41 | for(int i=1;i<=n;i++) | ^~~ main.cpp:48:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 48 | return 0; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
41ms303kbOK10
52ms561kbOK10
69ms1609kbOK10
729ms3956kbOK10
824ms5804kbOK10
9143ms11706kbOK10
10147ms11706kbOK10
Punctaj total100

Ceva nu functioneaza?