Borderou de evaluare (job #2512338)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 20 decembrie 2019 21:30:40
Problema Taramul Nicaieri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Dinic::add_edge(int, int, int)': main.cpp:31:42: warning: narrowing conversion of '(&((Dinic*)this)->Dinic::gr.std::vector<_Tp, _Alloc>::operator[]<std::vector<Edge>, std::allocator<std::vector<Edge> > >(((std::vector<std::vector<Edge> >::size_type)y)))->std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing] gr[x].pb ({y, 0, cap, gr[y].size ()}); ~~~~~~~~~~~^~ main.cpp:32:43: warning: narrowing conversion of '((&((Dinic*)this)->Dinic::gr.std::vector<_Tp, _Alloc>::operator[]<std::vector<Edge>, std::allocator<std::vector<Edge> > >(((std::vector<std::vector<Edge> >::size_type)x)))->std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() - 1ul)' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing] gr[y].pb ({x, 0, 0, gr[x].size () - 1}); ~~~~~~~~~~~~~~^~~ main.cpp: In member function 'int Dinic::dfs(int, int, int)': main.cpp:55:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (start[node] < gr[node].size ()) { main.cpp: In member function 'int Dinic::maxflow()': main.cpp:74:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (flow = dfs (source, sink, INF)) ^ main.cpp: In function 'int main()': main.cpp:102:12: warning: unused variable 'm' [-Wunused-variable] int n, m, a, b; ^ main.cpp:102:15: warning: unused variable 'a' [-Wunused-variable] int n, m, a, b; ^ main.cpp:102:18: warning: unused variable 'b' [-Wunused-variable] int n, m, a, b; ^ main.cpp:98:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("harta.in", "r", stdin); ^ main.cpp:99:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("harta.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbnumarul de drumuri nu este bun0
23ms131kbnumarul de drumuri nu este bun0
33ms131kbnumarul de drumuri nu este bun0
44ms262kbnumarul de drumuri nu este bun0
53ms262kbnumarul de drumuri nu este bun0
65ms524kbnumarul de drumuri nu este bun0
74ms524kbnumarul de drumuri nu este bun0
85ms655kbnumarul de drumuri nu este bun0
96ms655kbnumarul de drumuri nu este bun0
104ms262kbnumarul de drumuri nu este bun0
114ms262kbnumarul de drumuri nu este bun0
124ms356kbnumarul de drumuri nu este bun0
137ms524kbnumarul de drumuri nu este bun0
146ms524kbnumarul de drumuri nu este bun0
1510ms581kbnumarul de drumuri nu este bun0
1611ms610kbnumarul de drumuri nu este bun0
172ms131kbnumarul de drumuri nu este bun0
186ms655kbnumarul de drumuri nu este bun0
1911ms655kbnumarul de drumuri nu este bun0
207ms655kbnumarul de drumuri nu este bun0
Punctaj total0

Ceva nu functioneaza?