Borderou de evaluare (job #2828881)

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

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
154ms11210kbTime limit exceeded0
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
754ms13172kbTime limit exceeded0
854ms11300kbTime limit exceeded0
954ms11210kbTime limit exceeded0
1054ms11149kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?