Pagini recente » Borderou de evaluare (job #3136364) | Borderou de evaluare (job #1696550) | Borderou de evaluare (job #510988) | Borderou de evaluare (job #2545997) | Borderou de evaluare (job #2798726)
Borderou de evaluare (job #2798726)
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:145:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
145 | for(int i = 0; i < lista_ad[start].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::CTC()':
main.cpp:175:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
175 | for (int i = 0; i < s2.size(); i++)
| ~~^~~~~~~~~~~
main.cpp:179:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
179 | 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 | 274kb | Numar de componente gresit | 0 | 0 |
5 | 3ms | 335kb | Numar de componente gresit | 0 |
6 | 18ms | 630kb | Numar de componente gresit | 0 |
7 | 39ms | 1490kb | Numar de componente gresit | 0 | 0 |
8 | 78ms | 3076kb | Numar de componente gresit | 0 |
9 | 164ms | 6701kb | Numar de componente gresit | 0 |
10 | 191ms | 9191kb | Numar de componente gresit | 0 | 0 |
Punctaj total | 0 |