Pagini recente » Borderou de evaluare (job #2335721) | Borderou de evaluare (job #2218253) | Borderou de evaluare (job #214923) | Borderou de evaluare (job #1424962) | Borderou de evaluare (job #2512338)
Borderou de evaluare (job #2512338)
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 |
1 | 3ms | 131kb | numarul de drumuri nu este bun | 0 |
2 | 3ms | 131kb | numarul de drumuri nu este bun | 0 |
3 | 3ms | 131kb | numarul de drumuri nu este bun | 0 |
4 | 4ms | 262kb | numarul de drumuri nu este bun | 0 |
5 | 3ms | 262kb | numarul de drumuri nu este bun | 0 |
6 | 5ms | 524kb | numarul de drumuri nu este bun | 0 |
7 | 4ms | 524kb | numarul de drumuri nu este bun | 0 |
8 | 5ms | 655kb | numarul de drumuri nu este bun | 0 |
9 | 6ms | 655kb | numarul de drumuri nu este bun | 0 |
10 | 4ms | 262kb | numarul de drumuri nu este bun | 0 |
11 | 4ms | 262kb | numarul de drumuri nu este bun | 0 |
12 | 4ms | 356kb | numarul de drumuri nu este bun | 0 |
13 | 7ms | 524kb | numarul de drumuri nu este bun | 0 |
14 | 6ms | 524kb | numarul de drumuri nu este bun | 0 |
15 | 10ms | 581kb | numarul de drumuri nu este bun | 0 |
16 | 11ms | 610kb | numarul de drumuri nu este bun | 0 |
17 | 2ms | 131kb | numarul de drumuri nu este bun | 0 |
18 | 6ms | 655kb | numarul de drumuri nu este bun | 0 |
19 | 11ms | 655kb | numarul de drumuri nu este bun | 0 |
20 | 7ms | 655kb | numarul de drumuri nu este bun | 0 |
Punctaj total | 0 |