Pagini recente » Borderou de evaluare (job #2110113) | Borderou de evaluare (job #1554609) | Borderou de evaluare (job #1579357) | Borderou de evaluare (job #2956606) | Borderou de evaluare (job #2260224)
Borderou de evaluare (job #2260224)
Raport evaluator
Compilare:
main.cpp: In member function 'void maxFlow::addEdge(int, int, int)':
main.cpp:31:39: warning: narrowing conversion of '(((maxFlow*)this)->maxFlow::E.std::vector<_Tp, _Alloc>::size<maxFlow::Edge, std::allocator<maxFlow::Edge> >() + 1ul)' from 'std::vector<maxFlow::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
E.push_back({x, y, c, 0, E.size() + 1});
~~~~~~~~~^~~
main.cpp:33:39: warning: narrowing conversion of '(((maxFlow*)this)->maxFlow::E.std::vector<_Tp, _Alloc>::size<maxFlow::Edge, std::allocator<maxFlow::Edge> >() - 1ul)' from 'std::vector<maxFlow::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
E.push_back({y, x, 0, 0, E.size() - 1});
~~~~~~~~~^~~
main.cpp: In member function 'int maxFlow::baga(int, int)':
main.cpp:61:43: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if (minim == E[E[it].inv].ramas() > 0 || from[E[it].other(d)] == -1)
~~~~~~~~~~~~~~~~~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:119:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.in", "r", stdin);
^
main.cpp:120:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.out", "w", stdout);
^
main.cpp:123:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &s, &d);
^
main.cpp:127:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect! | 10 |
2 | 7ms | 655kb | Corect! | 10 |
3 | 6ms | 393kb | Numarul muchiilor afisate gresit! | 5 |
4 | 4ms | 262kb | Numarul muchiilor afisate gresit! | 5 |
5 | 7ms | 524kb | Corect! | 10 |
6 | 6ms | 393kb | Numarul muchiilor afisate gresit! | 5 |
7 | 7ms | 524kb | Numarul muchiilor afisate gresit! | 5 |
8 | 7ms | 393kb | Numarul muchiilor afisate gresit! | 5 |
9 | 6ms | 393kb | Numarul muchiilor afisate gresit! | 5 |
10 | 2ms | 131kb | Numarul muchiilor afisate gresit! | 5 |
Punctaj total | 65 |