Borderou de evaluare (job #2798687)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 11 noiembrie 2021 18:54:46
Problema Smart Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool flux()': main.cpp:46:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | for( i = 0; i < noduri[ node ].size(); i++ ) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:102:37: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds] 102 | v[ 1 ] = v[ 2 ] = v[ 3 ] = v[ 4 ] = INF; | ~~~~~^ main.cpp:22:5: note: while referencing 'v' 22 | int v[ MAX_DIR ], n; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
21ms184kbIncorect0
31ms184kbIncorect0
42ms184kbIncorect0
51ms184kbIncorect0
61ms184kbIncorect0
72ms184kbIncorect0
81ms184kbIncorect0
912ms700kbIncorect0
101ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?