Borderou de evaluare (job #2814987)

Utilizator IoanaLiviaPopescu15Ioana Livia IoanaLiviaPopescu15 Data 8 decembrie 2021 22:33:22
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::DFS(int)': main.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for(int i = 0; i < adiacenta[vf].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void kruskal()': main.cpp:100:13: warning: unused variable 'x' [-Wunused-variable] 100 | int x = muchie.x; | ^ main.cpp:101:13: warning: unused variable 'y' [-Wunused-variable] 101 | int y = muchie.y; | ^ main.cpp: In function 'int main()': main.cpp:146:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 146 | for (int i = 0; i < rezultat.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:116:12: warning: unused variable 'n1' [-Wunused-variable] 116 | int n, M, n1, n2, conexe = 0, s = 2; | ^~ main.cpp:116:16: warning: unused variable 'n2' [-Wunused-variable] 116 | int n, M, n1, n2, conexe = 0, s = 2; | ^~ main.cpp:116:20: warning: unused variable 'conexe' [-Wunused-variable] 116 | int n, M, n1, n2, conexe = 0, s = 2; | ^~~~~~ main.cpp:116:32: warning: unused variable 's' [-Wunused-variable] 116 | int n, M, n1, n2, conexe = 0, s = 2; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms5046kbCost incorect0
211ms5074kbCost incorect0
311ms5013kbCost incorect0
411ms5058kbCost incorect0
511ms5038kbCost incorect0
6397ms7520kbCost incorect0
71004ms11157kbTime limit exceeded0
8175ms6082kbCost incorect0
993ms5976kbCost incorect0
10815ms9498kbCost incorect0
Punctaj total0

Ceva nu functioneaza?