Borderou de evaluare (job #2828141)

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

Raport evaluator

Compilare: main.cpp: In function 'void dfs(std::vector<std::vector<int> >, int, std::vector<int>&)': main.cpp:30:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | for(int i = 0; i < result.size(); i++) | ~~^~~~~~~~~~~~~~~ main.cpp:40:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for(int i = 0; i < graph.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp: In function 'void dfs_connected(std::vector<std::vector<int> >, int, std::vector<std::vector<int> >&)': main.cpp:56:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for(int i = 0; i < visit.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:69:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 69 | 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:85:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 85 | for (int current_index = 0; current_index < components.size() - 1; current_index++) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void pamant(std::vector<std::vector<int> >, int, std::vector<std::vector<int> >&, std::vector<int>&)': main.cpp:100:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for(int i = 0; i < components.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void amici_bfs(std::vector<std::vector<int> >, int, int&, int)': main.cpp:118:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for(int i = 0; i < graph.size(); i++) | ~~^~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
121ms405kbCorect!10
283ms716kbCorect!10
374ms749kbCorect!10
4204ms2064kbTime limit exceeded0
5203ms3141kbTime limit exceeded0
6200ms6598kbTime limit exceeded0
7202ms3682kbTime limit exceeded0
8200ms7970kbTime limit exceeded0
9201ms4382kbTime limit exceeded0
10200ms9330kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?