Pagini recente » Borderou de evaluare (job #2339756) | Borderou de evaluare (job #3259699) | Borderou de evaluare (job #2091871) | Borderou de evaluare (job #2880773) | Borderou de evaluare (job #2247327)
Borderou de evaluare (job #2247327)
Raport evaluator
Compilare:
user.cpp: In member function ‘void maxFlow::addEdge(int, int, int)’:
user.cpp:25: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:27: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, 0, 0, E.size() - 1});
~~~~~~~~~^~~
user.cpp: In member function ‘int maxFlow::baga(int, int)’:
user.cpp:55: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:85:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smart.in", "r", stdin);
^
user.cpp:86:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smart.out", "w", stdout);
^
user.cpp:89:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &n, &k);
^
user.cpp:93:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
user.cpp:121:16: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
f += r.baga(0, t * nr + y);
~~~~~~^~~~~~~~~~~~~~~
user.cpp:91:7: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int x, y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 5128kb | OK | 10 |
2 | 8ms | 2712kb | OK | 10 |
3 | 16ms | 2696kb | OK | 10 |
4 | 60ms | 5104kb | OK | 10 |
5 | 64ms | 5120kb | OK | 10 |
6 | 208ms | 8080kb | OK | 10 |
7 | 52ms | 8056kb | OK | 10 |
8 | 32ms | 3388kb | OK | 10 |
9 | 180ms | 8068kb | OK | 10 |
10 | 268ms | 8168kb | OK | 10 |
Punctaj total | 100 |