Pagini recente » Borderou de evaluare (job #498668) | Borderou de evaluare (job #2186889) | Borderou de evaluare (job #2729782) | Borderou de evaluare (job #134935) | Borderou de evaluare (job #2251861)
Borderou de evaluare (job #2251861)
Raport evaluator
Compilare:
user.cpp: In member function ‘void maxFlow::addEdge(int, int, int)’:
user.cpp:30: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:32: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:60: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:118: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:119: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:122: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:126: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 | 1336kb | Corect! | 10 |
2 | 8ms | 1732kb | Numarul muchiilor afisate gresit! | 5 |
3 | 4ms | 1528kb | Numar de muchii gresit! | 0 |
4 | 0ms | 1456kb | Numar de muchii gresit! | 0 |
5 | 4ms | 1648kb | Numarul muchiilor afisate gresit! | 5 |
6 | 4ms | 1596kb | Numar de muchii gresit! | 0 |
7 | 4ms | 1596kb | Numar de muchii gresit! | 0 |
8 | 4ms | 1536kb | Numar de muchii gresit! | 0 |
9 | 4ms | 1584kb | Numarul muchiilor afisate gresit! | 5 |
10 | 0ms | 1336kb | Numarul muchiilor afisate gresit! | 5 |
Punctaj total | 30 |