Pagini recente » Cod sursa (job #608696) | Cod sursa (job #511120) | Borderou de evaluare (job #2243392) | Cod sursa (job #782239) | Borderou de evaluare (job #2247382)
Borderou de evaluare (job #2247382)
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:59: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:86:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("necromancer.in", "r", stdin);
^
user.cpp:87:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("necromancer.out", "w", stdout);
^
user.cpp:90:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:96:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &m, &f);
^
user.cpp:100:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1420kb | OK | 3 |
2 | 4ms | 1408kb | OK | 3 |
3 | 4ms | 1416kb | OK | 3 |
4 | 4ms | 1416kb | OK | 3 |
5 | 20ms | 1424kb | OK | 3 |
6 | 16ms | 1500kb | OK | 3 |
7 | 68ms | 1496kb | OK | 3 |
8 | 32ms | 1580kb | OK | 3 |
9 | 40ms | 1584kb | OK | 3 |
10 | 40ms | 1660kb | OK | 3 |
11 | 20ms | 1468kb | OK | 3 |
12 | 4ms | 1412kb | OK | 3 |
13 | 16ms | 1580kb | OK | 3 |
14 | 144ms | 1584kb | OK | 3 |
15 | 136ms | 1588kb | OK | 3 |
16 | 140ms | 1584kb | OK | 3 |
17 | 0ms | 1380kb | OK | 3 |
18 | 268ms | 2612kb | OK | 3 |
19 | 36ms | 1664kb | OK | 3 |
20 | 264ms | 1920kb | OK | 3 |
21 | 36ms | 1656kb | OK | 3 |
22 | 260ms | 1924kb | OK | 3 |
23 | 8ms | 1580kb | OK | 3 |
24 | 56ms | 1660kb | OK | 3 |
25 | 64ms | 1920kb | OK | 3 |
26 | 8ms | 1584kb | OK | 3 |
27 | Depăşit | 1800kb | Time limit exceeded. | 0 |
28 | 28ms | 1924kb | OK | 3 |
29 | 60ms | 1660kb | OK | 3 |
30 | 44ms | 1928kb | OK | 3 |
Punctaj total | 97 |