Borderou de evaluare (job #2940764)

Utilizator NuSuntRomanIspir Alexandru NuSuntRoman Data 16 noiembrie 2022 12:55:50
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool BFS(int)': main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int i = 0; i < G[u].size(); ++ i) { | ~~^~~~~~~~~~~~~ main.cpp: In function 'int DFS(int, int)': main.cpp:53:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | for (int &i = ptr[node]; i < G[node].size(); ++ i) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:95:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 95 | while (t = DFS(s, 1e9)) flow += t; | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
15ms5033kbOK1010
25ms5042kbOK1010
35ms5033kbOK1010
45ms5033kbOK1010
55ms5033kbOK1010
64ms5124kbOK1010
72ms5165kbOK1010
89ms5308kbOK1030
910ms5296kbOK10
1013ms5427kbOK10
Punctaj total100

Ceva nu functioneaza?