Pagini recente » Borderou de evaluare (job #598673) | Borderou de evaluare (job #3131224) | Borderou de evaluare (job #2844815) | Borderou de evaluare (job #126128) | Borderou de evaluare (job #2251740)
Borderou de evaluare (job #2251740)
Raport evaluator
Compilare:
user.cpp: In member function ‘void maxFlow::addEdge(int, int, int)’:
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({x, y, c, 0, E.size() + 1});
~~~~~~~~~^~~
user.cpp:34: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 ‘void maxFlow::baga(int, int)’:
user.cpp:62: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 | 1336kb | Corect! | 10 |
2 | 8ms | 1732kb | Numar de muchii gresit! | 0 |
3 | 4ms | 1524kb | Numar de muchii gresit! | 0 |
4 | 0ms | 1456kb | Numar de muchii gresit! | 0 |
5 | 4ms | 1648kb | Numar de muchii gresit! | 0 |
6 | 4ms | 1592kb | Numar de muchii gresit! | 0 |
7 | 4ms | 1592kb | Numar de muchii gresit! | 0 |
8 | 4ms | 1536kb | Numar de muchii gresit! | 0 |
9 | 4ms | 1580kb | Numar de muchii gresit! | 0 |
10 | 0ms | 1340kb | Numar de muchii gresit! | 0 |
Punctaj total | 10 |