Borderou de evaluare (job #3236984)

Utilizator Anul2024Anul2024 Anul2024 Data 3 iulie 2024 20:51:15
Problema Autobuze3 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for (int i=0; i<l[nod].size (); i++) | ~^~~~~~~~~~~~~~~ main.cpp:52:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for (int i=0; i<l[nod].size (); i++) | ~^~~~~~~~~~~~~~~ main.cpp:58:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for (int j=0; j<pers[vecin].size (); j++) | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:65:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | for (int j=0; j<pers[poz].size (); j++) | ~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/cassert:44, from main.cpp:4: main.cpp: In function 'int main()': main.cpp:101:32: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 101 | assert (pers[1].size ()==n); | ~~~~~~~~~~~~~~~^~~ main.cpp: In function 'void dfs(int, int)': main.cpp:68:21: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 68 | p[nod]=p[poz]; | ~~~~~^ main.cpp:34:9: note: 'poz' was declared here 34 | int poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
155ms13447kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?