Pagini recente » Borderou de evaluare (job #2970174) | Borderou de evaluare (job #2422043) | Borderou de evaluare (job #12479) | Borderou de evaluare (job #312041) | Borderou de evaluare (job #2798615)
Borderou de evaluare (job #2798615)
Raport evaluator
Compilare:
main.cpp: In function 'bool flux()':
main.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for( i = 0; i < noduri[ node ].size(); i++ ) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:122:16: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
122 | v[ i ] = INF;
| ^
main.cpp:121:23: note: within this loop
121 | for( int i = 1; i <= 4; i++ )
| ~~^~~~
main.cpp:122:14: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds]
122 | v[ i ] = INF;
| ~~~~~^
main.cpp:22:5: note: while referencing 'v'
22 | int v[ MAX_DIR ], n;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | Incorect | 0 |
4 | 11ms | 569kb | Incorect | 0 |
5 | 1ms | 184kb | Incorect | 0 |
6 | 1ms | 184kb | Incorect | 0 |
7 | 1ms | 184kb | Incorect | 0 |
8 | 1ms | 184kb | Incorect | 0 |
9 | 1ms | 184kb | Incorect | 0 |
10 | 1ms | 184kb | Incorect | 0 |
Punctaj total | 0 |