Borderou de evaluare (job #2814993)

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

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 'int main()': main.cpp:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int i = 0; i < rezultat.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:114:12: warning: unused variable 'n1' [-Wunused-variable] 114 | int n, M, n1, n2, conexe = 0, s = 2; | ^~ main.cpp:114:16: warning: unused variable 'n2' [-Wunused-variable] 114 | int n, M, n1, n2, conexe = 0, s = 2; | ^~ main.cpp:114:20: warning: unused variable 'conexe' [-Wunused-variable] 114 | int n, M, n1, n2, conexe = 0, s = 2; | ^~~~~~ main.cpp:114:32: warning: unused variable 's' [-Wunused-variable] 114 | int n, M, n1, n2, conexe = 0, s = 2; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
114ms9838kbCorect10
214ms9838kbCorect10
315ms9809kbCorect10
414ms9822kbCorect10
515ms9818kbCorect10
6400ms12337kbCorect10
71003ms15970kbTime limit exceeded0
8179ms10891kbCorect10
997ms10784kbCorect10
10823ms14311kbCorect10
Punctaj total90

Ceva nu functioneaza?