Borderou de evaluare (job #2828316)

Utilizator lazarstefania63@yahoo.comLazar Stefania [email protected] Data 7 ianuarie 2022 06:21:16
Problema Transport2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void dfs(std::vector<std::vector<int> >, int, std::vector<int>&)': main.cpp:31:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int i = 0; i < result.size(); i++) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'void dfs_connected(std::vector<std::vector<int> >, int, std::vector<std::vector<int> >&)': main.cpp:59:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for(int j = 0; j <= result_dfs.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int conexidad(std::vector<std::vector<int> >, std::vector<std::vector<int> >&, int, std::vector<std::vector<int> >)': main.cpp:75:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 75 | for (int current_index = 0; current_index < components.size() - 1; current_index++) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int transport(std::vector<std::vector<std::pair<int, int> > >, int)': main.cpp:128:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 128 | for(int i = 1; i < edges.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:131:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 131 | for(int index = 0; index < components.size(); index++) | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:116:9: warning: unused variable 'current_max' [-Wunused-variable] 116 | int current_max, trans_min = 10001; | ^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbIncorect0
22ms184kbOK10
32ms184kbIncorect0
46ms368kbIncorect0
535ms684kbIncorect0
6504ms2736kbTime limit exceeded0
7501ms11685kbTime limit exceeded0
8500ms19243kbTime limit exceeded0
9215ms20500kbMemory limit exceeded0
102ms184kbIncorect0
Punctaj total10

Ceva nu functioneaza?