Pagini recente » Borderou de evaluare (job #1527220) | Borderou de evaluare (job #1420885) | Borderou de evaluare (job #1831291) | Borderou de evaluare (job #1488472) | Borderou de evaluare (job #2251728)
Borderou de evaluare (job #2251728)
Raport evaluator
Compilare:
user.cpp: In member function ‘void maxFlow::addEdge(int, int, int)’:
user.cpp:26:39: warning: narrowing conversion of ‘(((maxFlow*)this)->maxFlow::E.std::vector<_Tp, _Alloc>::size<maxFlow::Edge, std::allocator<maxFlow::Edge> >() + 1u)’ from ‘std::vector<maxFlow::Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
E.push_back({x, y, c, 0, E.size() + 1});
~~~~~~~~~^~~
user.cpp:28:39: warning: narrowing conversion of ‘(((maxFlow*)this)->maxFlow::E.std::vector<_Tp, _Alloc>::size<maxFlow::Edge, std::allocator<maxFlow::Edge> >() - 1u)’ from ‘std::vector<maxFlow::Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing]
E.push_back({y, x, c, 0, E.size() - 1});
~~~~~~~~~^~~
user.cpp: In member function ‘int maxFlow::baga(int, int)’:
user.cpp:56:43: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
if (minim == E[E[it].inv].ramas() > 0 || from[E[it].other(d)] == -1)
~~~~~~~~~~~~~~~~~~~~~^~~
user.cpp: In function ‘int main()’:
user.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);
^
user.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);
^
user.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);
^
user.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 | 0ms | 1332kb | Numarul muchiilor afisate gresit! | 5 |
2 | 4ms | 1732kb | Numarul muchiilor afisate gresit! | 5 |
3 | 4ms | 1520kb | Numar de muchii gresit! | 0 |
4 | 0ms | 1456kb | Numar de muchii gresit! | 0 |
5 | 4ms | 1644kb | Numarul muchiilor afisate gresit! | 5 |
6 | 4ms | 1592kb | Numar de muchii gresit! | 0 |
7 | 4ms | 1596kb | Numar de muchii gresit! | 0 |
8 | 4ms | 1532kb | Numar de muchii gresit! | 0 |
9 | 4ms | 1584kb | Numarul muchiilor afisate gresit! | 5 |
10 | 0ms | 1344kb | Numarul muchiilor afisate gresit! | 5 |
Punctaj total | 25 |