Pagini recente » Borderou de evaluare (job #944088) | Borderou de evaluare (job #2571372) | Borderou de evaluare (job #96310) | Borderou de evaluare (job #71927) | Borderou de evaluare (job #2828175)
Borderou de evaluare (job #2828175)
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++)
| ~~^~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 331kb | Corect! | 10 |
2 | 6ms | 430kb | Corect! | 10 |
3 | 6ms | 380kb | Corect! | 10 |
4 | 25ms | 806kb | Corect! | 10 |
5 | 92ms | 1888kb | Corect! | 10 |
6 | 107ms | 2113kb | Corect! | 10 |
7 | 107ms | 2207kb | Corect! | 10 |
8 | 139ms | 2805kb | Corect! | 10 |
9 | 131ms | 2617kb | Corect! | 10 |
10 | 164ms | 2977kb | Corect! | 10 |
Punctaj total | 100 |