Pagini recente » Borderou de evaluare (job #2927511) | Borderou de evaluare (job #2124984) | Borderou de evaluare (job #2715312) | Borderou de evaluare (job #943078) | Borderou de evaluare (job #2807583)
Borderou de evaluare (job #2807583)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::out()':
main.cpp:71:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int j = 0 ; j < lista[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:149:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
149 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(std::vector<bool>&, int)':
main.cpp:165:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconex()':
main.cpp:225:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
225 | for(int index = 0; index < componenteBiconexe.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_biconex(int, std::vector<bool>&, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::pair<int, int> >&, int&, std::vector<std::set<int> >&)':
main.cpp:243:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
243 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::componenteTareConexe(int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<bool>&, std::stack<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:307:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
307 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortaret(int, std::vector<bool>&, std::vector<int>&)':
main.cpp:338:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
338 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graf::Havel_Hakimi(int, std::vector<int>&)':
main.cpp:358:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
358 | if(nod > grade.size())
| ~~~~^~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::critical()':
main.cpp:384:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
384 | for(int index = 0; index < output.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:386:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
386 | for(int secondIndex = 0; secondIndex < output[index].size(); secondIndex++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_critical(int, int, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:396:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
396 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::apm()':
main.cpp:439:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
439 | for(int index = 0; index < edges.size() && numar_muchii != noduri - 1; index++)
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:489:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
489 | for(int index = 0; index < rez.size(); index++)
| ~~~~~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | OK | 10 | 10 |
2 | 2ms | 184kb | OK | 10 | 10 |
3 | 2ms | 184kb | OK | 10 | 10 |
4 | 2ms | 200kb | OK | 10 | 10 |
5 | 6ms | 200kb | OK | 10 | 30 |
6 | 69ms | 802kb | OK | 10 |
7 | 69ms | 802kb | OK | 10 |
8 | 74ms | 1101kb | OK | 10 | 10 |
9 | 35ms | 712kb | OK | 10 | 10 |
10 | 74ms | 1339kb | OK | 10 | 10 |
Punctaj total | 100 |