Borderou de evaluare (job #2828876)

Utilizator lazarstefania63@yahoo.comLazar Stefania [email protected] Data 8 ianuarie 2022 05:21:34
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:32:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | 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:60:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | 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:76:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 76 | 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:129:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 129 | for(int i = 1; i < edges.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:132:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 132 | for(int index = 0; index < components.size(); index++) | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:117:9: warning: unused variable 'current_max' [-Wunused-variable] 117 | int current_max, trans_min = 10001; | ^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
154ms11214kbTime limit exceeded0
22ms192kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
62ms184kbIncorect0
754ms13217kbTime limit exceeded0
854ms11227kbTime limit exceeded0
954ms11227kbTime limit exceeded0
1054ms11137kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?