Pagini recente » Borderou de evaluare (job #1942352) | Borderou de evaluare (job #1220138) | Borderou de evaluare (job #188547) | Borderou de evaluare (job #1572095) | Borderou de evaluare (job #2814069)
Borderou de evaluare (job #2814069)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::BFS(int)':
main.cpp:127:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
127 | for (int i=1; i < distante.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::NrCompConexeDFS(int)':
main.cpp:168:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
168 | for (int i = 1; i < vizitate.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void countSort(std::vector<int>&)':
main.cpp:282:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
282 | for (int i = 1; i < v.size(); i++)
| ~~^~~~~~~~~~
main.cpp:293:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
293 | for (int i = 0; i < v.size(); i++)
| ~~^~~~~~~~~~
main.cpp: In member function 'void Graf::HavelHakimi()':
main.cpp:333:23: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
333 | if (secventa.size() < deScazut)
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:347:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
347 | for (int i = 0; i < secventa.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::MuchiiCrit()':
main.cpp:540:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
540 | for (int i = 1; i < vizitate.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::SortareTopologica()':
main.cpp:584:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
584 | for (int i = 1; i < vizitate.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void GrafPonderat::Kruskall()':
main.cpp:905:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
905 | for (int i = 0; i < muchii.size(); i++)
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > GrafPonderat::RoyFloyd()':
main.cpp:934:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
934 | for (int i = 0; i < matricePonderata.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:937:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
937 | for (int j = 0; j < matricePonderata.size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:943:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
943 | for (int k = 0; k < matricePonderata.size(); k++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:945:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
945 | for (int i = 0; i < matricePonderata.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:947:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
947 | for (int j = 0; j < matricePonderata.size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 262kb | Incorect | 0 |
6 | 6ms | 299kb | OK | 10 |
7 | 6ms | 200kb | OK | 10 |
8 | 6ms | 249kb | Incorect | 0 |
9 | 11ms | 335kb | Incorect | 0 |
10 | 11ms | 307kb | OK | 10 |
Punctaj total | 50 |