Pagini recente » Borderou de evaluare (job #1118816) | Borderou de evaluare (job #2029047) | Borderou de evaluare (job #3200908) | Borderou de evaluare (job #726715) | Borderou de evaluare (job #2282382)
Borderou de evaluare (job #2282382)
Raport evaluator
Compilare:
main.cpp: In function 'void addEdge(int, int, int)':
main.cpp:30:42: warning: narrowing conversion of 'g[y].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[x].push_back({y , 0 , cap , g[y].size()});
~~~~~~~~~^~
main.cpp:31:43: warning: narrowing conversion of '(g[x].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() - 1ul)' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x , 0 , 0 , g[x].size() - 1});
~~~~~~~~~~~~^~~
main.cpp: In function 'bool bfs()':
main.cpp:67:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0 ; h < g[node].size() ; h++){
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int dfs(int, int)':
main.cpp:85:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int &h = last[node] ; h < g[node].size() ; h++){
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int maxflow()':
main.cpp:114:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 1441kb | Incorect | 0 |
2 | 9ms | 1441kb | Incorect | 0 |
3 | 12ms | 2228kb | Incorect | 0 |
4 | 11ms | 2228kb | Incorect | 0 |
5 | 24ms | 1835kb | Incorect | 0 |
6 | 21ms | 3932kb | Incorect | 0 |
7 | 64ms | 3538kb | Incorect | 0 |
8 | 36ms | 4325kb | Incorect | 0 |
9 | 33ms | 4325kb | Incorect | 0 |
10 | 36ms | 4456kb | Incorect | 0 |
11 | 20ms | 2228kb | Incorect | 0 |
12 | 8ms | 1835kb | Incorect | 0 |
13 | 14ms | 3538kb | Incorect | 0 |
14 | 136ms | 3670kb | Incorect | 0 |
15 | 138ms | 3538kb | Incorect | 0 |
16 | 129ms | 2752kb | Incorect | 0 |
17 | 3ms | 393kb | OK | 3 |
18 | 234ms | 5242kb | Incorect | 0 |
19 | 42ms | 2097kb | Incorect | 0 |
20 | 228ms | 4587kb | Incorect | 0 |
21 | 41ms | 2359kb | Incorect | 0 |
22 | 245ms | 4718kb | Incorect | 0 |
23 | 12ms | 1966kb | Incorect | 0 |
24 | 65ms | 2359kb | Incorect | 0 |
25 | 70ms | 2621kb | Incorect | 0 |
26 | 14ms | 2228kb | Incorect | 0 |
27 | 230ms | 4587kb | Incorect | 0 |
28 | 34ms | 3801kb | Incorect | 0 |
29 | 66ms | 2490kb | Incorect | 0 |
30 | 42ms | 4456kb | Incorect | 0 |
Punctaj total | 3 |