Pagini recente » Borderou de evaluare (job #2798526) | Borderou de evaluare (job #2576622) | Borderou de evaluare (job #633039) | Borderou de evaluare (job #2731491) | Borderou de evaluare (job #2798750)
Borderou de evaluare (job #2798750)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::BFS(int)':
main.cpp:65:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (int j = 0; j < lista_ad[q.front()].size();j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:77:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for (int i = 1; i <= dist.size()-1;i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&)':
main.cpp:87:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int i = 0; i < lista_ad[start].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSsort(int, std::vector<int>&, std::stack<int>&)':
main.cpp:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | for (int i = 0; i < lista_ad[start].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFSt(int, std::vector<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:144:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
144 | for(int i = 1; i < lista_ad[start].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::CTC()':
main.cpp:174:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for (int i = 0; i < s2.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:178:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
178 | for (int j = 0; j < s2[i].size(); j++)
| ~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | Numar de componente gresit | 0 | 0 |
2 | 1ms | 184kb | Numar de componente gresit | 0 |
3 | 1ms | 184kb | Numar de componente gresit | 0 |
4 | 1ms | 184kb | Numar de componente gresit | 0 | 0 |
5 | 14ms | 475kb | Numar de componente gresit | 0 |
6 | 16ms | 950kb | Numar de componente gresit | 0 |
7 | 20ms | 1626kb | Numar de componente gresit | 0 | 0 |
8 | 100ms | 3846kb | Numar de componente gresit | 0 |
9 | 241ms | 8994kb | Numar de componente gresit | 0 |
10 | 307ms | 12910kb | Numar de componente gresit | 0 | 0 |
Punctaj total | 0 |