Pagini recente » Cod sursa (job #2316310) | Cod sursa (job #1494395) | Cod sursa (job #610962) | Borderou de evaluare (job #2017069) | Borderou de evaluare (job #2828298)
Borderou de evaluare (job #2828298)
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:116:9: warning: unused variable 'current_max' [-Wunused-variable]
116 | int current_max, trans_min = 10001;
| ^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 2ms | 184kb | Incorect | 0 |
Punctaj total | 0 |