Borderou de evaluare (job #2961714)

Utilizator Eronatedudu zzz Eronate Data 6 ianuarie 2023 21:33:52
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-32 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool bfs(int, int, int, int*)': main.cpp:14:30: warning: 'sizeof' on array function parameter 'father' will return size of 'int*' [-Wsizeof-array-argument] 14 | memset(father, 0, sizeof(father)); | ~^~~~~~~ main.cpp:10:40: note: declared here 10 | bool bfs(int n, int src, int dest, int father[]) | ~~~~^~~~~~~~ main.cpp:14:23: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 14 | memset(father, 0, sizeof(father)); | ^~~~~~~~~~~~~~ main.cpp: In function 'int fordFulkerson(int, int, int)': main.cpp:42:9: warning: unused variable 'u' [-Wunused-variable] 42 | int u, v, max_flow_for_route, currentNode; | ^ main.cpp:42:12: warning: unused variable 'v' [-Wunused-variable] 42 | int u, v, max_flow_for_route, currentNode; | ^ main.cpp:42:35: warning: unused variable 'currentNode' [-Wunused-variable] 42 | int u, v, max_flow_for_route, currentNode; | ^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms188kbKilled by Signal 1100
20ms184kbKilled by Signal 1100
30ms184kbKilled by Signal 1100
40ms184kbKilled by Signal 1100
50ms184kbKilled by Signal 1100
60ms184kbKilled by Signal 1100
75ms4235kbKilled by Signal 1100
829ms4366kbKilled by Signal 1100
942ms4366kbKilled by Signal 110
1058ms4366kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?