Pagini recente » Borderou de evaluare (job #661264) | Borderou de evaluare (job #2814352) | Borderou de evaluare (job #2500803) | Borderou de evaluare (job #3134960) | Borderou de evaluare (job #2791658)
Borderou de evaluare (job #2791658)
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 | 14ms | 7380kb | Corect | 10 | 30 |
2 | 13ms | 7376kb | Corect | 10 |
3 | 14ms | 7413kb | Corect | 10 |
4 | 14ms | 7516kb | Corect | 10 | 30 |
5 | 15ms | 7610kb | Corect | 10 |
6 | 33ms | 8015kb | Corect | 10 |
7 | 44ms | 8540kb | Corect | 10 | 30 |
8 | 94ms | 10113kb | Corect | 10 |
9 | 318ms | 12931kb | Corect | 10 |
10 | 350ms | 15159kb | Time limit exceeded | 0 | 0 |
Punctaj total | 90 |