Borderou de evaluare (job #3190247)

Utilizator Cosmin.BoeriuCosmin Boeriu George Cosmin.Boeriu Data 7 ianuarie 2024 13:13:19
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int dfs(int, int)': main.cpp:26:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 26 | for(int i = 0; i < adj[nod].size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int bfs()': main.cpp:47:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for(int i = 0; i < adj[nod].size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int dinic()': main.cpp:68:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 68 | while(x = dfs(0, 1)){ | ~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:104:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for(j = 0; j < adj[i].size(); j++){ | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect!0
20ms303kbIncorect!0
30ms303kbIncorect!0
40ms303kbIncorect!0
50ms557kbIncorect!0
60ms557kbIncorect!0
70ms557kbIncorect!0
80ms557kbIncorect!0
90ms303kbIncorect!0
100ms557kbS-a respectat legea!10
Punctaj total10

Ceva nu functioneaza?