Borderou de evaluare (job #2815406)

Utilizator oporanu.alexAlex Oporanu oporanu.alex Data 9 decembrie 2021 16:15:07
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'bool BFmaxFlow(int, int, int*, std::vector<int>*, int)': main.cpp:10:16: warning: iteration 104 invokes undefined behavior [-Waggressive-loop-optimizations] 10 | vis[i] = false; | ~~~~~~~^~~~~~~ main.cpp:9:22: note: within this loop 9 | for(int i = 1; i <= nmax; ++i) | ~~^~~~~~~ main.cpp:10:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 105 is out of the bounds [0, 105] of object 'vis' with type 'bool [105]' [-Warray-bounds] 10 | vis[i] = false; | ~~~~~~~^~~~~~~ main.cpp:8:10: note: 'vis' declared here 8 | bool vis[nmax]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbOK1010
22ms184kbOK1010
32ms184kbOK1010
42ms184kbOK1010
52ms184kbOK1010
62ms184kbKilled by Signal 1100
72ms184kbKilled by Signal 1100
82ms184kbKilled by Signal 1100
92ms184kbKilled by Signal 110
102ms184kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?