Pagini recente » Borderou de evaluare (job #2791656) | Borderou de evaluare (job #2791678) | Borderou de evaluare (job #2791613) | Borderou de evaluare (job #2796204) | Borderou de evaluare (job #2791660)
Borderou de evaluare (job #2791660)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::DFS(int)':
main.cpp:106:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DF1(int)':
main.cpp:132:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
132 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++) // parcurg toti vecinii nodului
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DF2(int)':
main.cpp:140:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
140 | for (int i = 0; i < adiacenta2[nodPlecare].size(); i++) // for (auto& i: adiacenta2)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::citireBFS(int&)':
main.cpp:59:20: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
59 | vizitat[i] = -1;
| ~~~~~~~~~~~^~~~
main.cpp:58:23: note: within this loop
58 | for (int i = 1; i <= maxi; i++)
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 13ms | 7426kb | Corect | 10 | 30 |
| 2 | 16ms | 7442kb | Corect | 10 |
| 3 | 19ms | 6893kb | Corect | 10 |
| 4 | 20ms | 7426kb | Corect | 10 | 30 |
| 5 | 20ms | 7593kb | Corect | 10 |
| 6 | 29ms | 8069kb | Corect | 10 |
| 7 | 45ms | 8601kb | Corect | 10 | 30 |
| 8 | 153ms | 10047kb | Corect | 10 |
| 9 | 213ms | 13017kb | Corect | 10 |
| 10 | 197ms | 15437kb | Corect | 10 | 10 |
| Punctaj total | 100 |