Pagini recente » Borderou de evaluare (job #1941740) | Borderou de evaluare (job #27093) | Borderou de evaluare (job #539803) | Borderou de evaluare (job #898807) | Borderou de evaluare (job #2616662)
Borderou de evaluare (job #2616662)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'void Flow_Graph<Type>::AddEdge(int, int, Type) [with Type = int]':
main.cpp:208:26: required from here
main.cpp:125:45: warning: narrowing conversion of '(&((Flow_Graph<int>*)this)->Flow_Graph<int>::adj.std::vector<_Tp, _Alloc>::operator[]<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >, std::allocator<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> > > >(((std::vector<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >, std::allocator<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> > > >::size_type)to)))->std::vector<_Tp, _Alloc>::size<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >()' from 'std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
Edge x {to, 0, C, adj[to].size()};
^
main.cpp:126:49: warning: narrowing conversion of '(&((Flow_Graph<int>*)this)->Flow_Graph<int>::adj.std::vector<_Tp, _Alloc>::operator[]<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >, std::allocator<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> > > >(((std::vector<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >, std::allocator<std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> > > >::size_type)from)))->std::vector<_Tp, _Alloc>::size<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >()' from 'std::vector<Flow_Graph<int>::Edge, std::allocator<Flow_Graph<int>::Edge> >::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
Edge y {from, 0, 0, adj[from].size()};
^
main.cpp: In instantiation of 'bool Flow_Graph<Type>::BFS() [with Type = int]':
main.cpp:182:22: required from 'Type Flow_Graph<Type>::MaxFlow() [with Type = int]'
main.cpp:211:30: required from here
main.cpp:144:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(Type it = 0; it < adj[from].size(); it++) {
main.cpp: In instantiation of 'Type Flow_Graph<Type>::DFS(Type, Type) [with Type = int]':
main.cpp:184:32: required from 'Type Flow_Graph<Type>::MaxFlow() [with Type = int]'
main.cpp:211:30: required from here
main.cpp:161:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(Type &it = rem[from]; it < adj[from].size(); it++) {
main.cpp: In function 'int main()':
main.cpp:197:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.in", "r", stdin);
^
main.cpp:198:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxflow.out", "w", stdout);
^
main.cpp:201:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:206:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &f);
^
main.cpp: In member function 'Type Flow_Graph<Type>::DFS(Type, Type) [with Type = int]':
main.cpp:177:9: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 61ms | 131kb | Time limit exceeded | 0 | 0 |
2 | 61ms | 131kb | Time limit exceeded | 0 | 0 |
3 | 61ms | 131kb | Time limit exceeded | 0 | 0 |
4 | 61ms | 131kb | Time limit exceeded | 0 | 0 |
5 | 61ms | 131kb | Time limit exceeded | 0 | 0 |
6 | 61ms | 131kb | Time limit exceeded | 0 | 0 |
7 | 61ms | 262kb | Time limit exceeded | 0 | 0 |
8 | 61ms | 393kb | Time limit exceeded | 0 | 0 |
9 | 61ms | 393kb | Time limit exceeded | 0 |
10 | 61ms | 393kb | Time limit exceeded | 0 |
Punctaj total | 0 |