Borderou de evaluare (job #3136691)

Utilizator DavidLDavid Lauran DavidL Data 7 iunie 2023 19:42:58
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:79:26: warning: array subscript -1 is below array bounds of 'int [1005]' [-Warray-bounds] 79 | flow[b][a] -= toAdd; | ~~~~~~~~~^ main.cpp:10:5: note: while referencing 'flow' 10 | int flow[NMAX][NMAX], flowInv[NMAX][NMAX]; | ^~~~ main.cpp:79:26: warning: array subscript -1 is below array bounds of 'int [1005]' [-Warray-bounds] 79 | flow[b][a] -= toAdd; | ~~~~~~~~~^ main.cpp:10:5: note: while referencing 'flow' 10 | int flow[NMAX][NMAX], flowInv[NMAX][NMAX]; | ^~~~ main.cpp:65:45: warning: array subscript -1 is below array bounds of 'int [1005]' [-Warray-bounds] 65 | toAdd = min(toAdd, flow[b][a]); | ~~~~~~~~~^ main.cpp:10:5: note: while referencing 'flow' 10 | int flow[NMAX][NMAX], flowInv[NMAX][NMAX]; | ^~~~ main.cpp:65:45: warning: array subscript -1 is below array bounds of 'int [1005]' [-Warray-bounds] 65 | toAdd = min(toAdd, flow[b][a]); | ~~~~~~~~~^ main.cpp:10:5: note: while referencing 'flow' 10 | int flow[NMAX][NMAX], flowInv[NMAX][NMAX]; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms557kbOK1010
30ms819kbOK1010
40ms1081kbOK1010
50ms1343kbOK1010
61ms1867kbIncorect00
72ms5275kbOK1010
834ms8949kbTime limit exceeded00
934ms11042kbTime limit exceeded0
1024ms12570kbIncorect0
Punctaj total60

Ceva nu functioneaza?