Pagini recente » Borderou de evaluare (job #1943198) | Borderou de evaluare (job #427660) | Borderou de evaluare (job #81929) | Borderou de evaluare (job #2200082) | Borderou de evaluare (job #2818546)
Borderou de evaluare (job #2818546)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> Graf::bfs(int)':
main.cpp:495:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
495 | for (int i = 0; i < adiacenta2[p].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(int, bool*)':
main.cpp:538:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
538 | for (int i = 0; i < adiacenta2[nod].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void p12()':
main.cpp:1023:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1023 | if (val > havelH.size())
| ~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::drumMin(std::vector<bool>, std::vector<int>)':
main.cpp:110:9: warning: 'nod' may be used uninitialized in this function [-Wmaybe-uninitialized]
110 | return nod;
| ^~~
main.cpp: In member function 'int Graf::bfsArbore(int&)':
main.cpp:872:15: warning: 'nodp' may be used uninitialized in this function [-Wmaybe-uninitialized]
872 | return h[nodp];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 2ms | 184kb | Corect | 10 |
6 | 197ms | 8802kb | Corect | 10 |
7 | 435ms | 18755kb | Corect | 10 |
8 | 68ms | 3543kb | Corect | 10 |
9 | 59ms | 3608kb | Corect | 10 |
10 | 364ms | 14794kb | Corect | 10 |
Punctaj total | 100 |