Borderou de evaluare (job #2828880)

Utilizator lazarstefania63@yahoo.comLazar Stefania [email protected] Data 8 ianuarie 2022 05:34:22
Problema Asmax Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
12ms188kbKilled by Signal 110
22ms184kbKilled by Signal 110
32ms184kbKilled by Signal 110
42ms184kbKilled by Signal 110
52ms184kbKilled by Signal 110
62ms184kbKilled by Signal 110
72ms184kbKilled by Signal 110
82ms184kbKilled by Signal 110
92ms184kbKilled by Signal 110
102ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?