Pagini recente » Borderou de evaluare (job #1481753) | Borderou de evaluare (job #1155178) | Borderou de evaluare (job #316315) | Borderou de evaluare (job #591773) | Borderou de evaluare (job #2807661)
Borderou de evaluare (job #2807661)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::out()':
main.cpp:73:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(int j = 0 ; j < lista[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:151:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
151 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(std::vector<bool>&, int)':
main.cpp:167:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
167 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconex()':
main.cpp:227:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
227 | 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:245:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
245 | 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:309:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
309 | 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:340:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
340 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graf::Havel_Hakimi(int, std::vector<int>&)':
main.cpp:360:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
360 | if(nod > grade.size())
| ~~~~^~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::critical()':
main.cpp:386:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
386 | for(int index = 0; index < output.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:388:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
388 | 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:398:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
398 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::apm()':
main.cpp:441: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]
441 | for(int index = 0; index < edges.size() && numar_muchii != noduri - 1; index++)
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:491: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]
491 | for(int index = 0; index < rez.size(); index++)
| ~~~~~~^~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 2ms | 262kb | OK | 10 |
| 5 | 25ms | 978kb | OK | 10 |
| 6 | 49ms | 1572kb | OK | 10 |
| 7 | 68ms | 2166kb | OK | 10 |
| 8 | 160ms | 4444kb | OK | 10 |
| 9 | 116ms | 3862kb | OK | 10 |
| 10 | 302ms | 6193kb | OK | 10 |
| Punctaj total | 100 |