Pagini recente » Borderou de evaluare (job #2285825) | Borderou de evaluare (job #2905199) | Borderou de evaluare (job #2973139) | Borderou de evaluare (job #1722507) | Borderou de evaluare (job #2782376)
Borderou de evaluare (job #2782376)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::bfs(int)':
main.cpp:27:13: warning: unused variable 'i' [-Wunused-variable]
27 | int i, d = 0;
| ^
main.cpp:27:16: warning: unused variable 'd' [-Wunused-variable]
27 | int i, d = 0;
| ^
main.cpp: In constructor 'graf::graf()':
main.cpp:52:21: warning: iteration 100002 invokes undefined behavior [-Waggressive-loop-optimizations]
52 | dist[i] = -1;
| ~~~~~~~~^~~~
main.cpp:51:26: note: within this loop
51 | for(int i = 1; i <= 100003; i++)
| ~~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 188kb | OK | 10 |
2 | 14ms | 3063kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 15ms | 3158kb | OK | 10 |
5 | 20ms | 3215kb | OK | 10 |
6 | 63ms | 4161kb | OK | 10 |
7 | 240ms | 5677kb | OK | 10 |
8 | 157ms | 6270kb | OK | 10 |
9 | 816ms | 12402kb | OK | 10 |
10 | 683ms | 12455kb | OK | 10 |
Punctaj total | 100 |