Pagini recente » Borderou de evaluare (job #2676110) | Borderou de evaluare (job #2328603) | Borderou de evaluare (job #2473458) | Borderou de evaluare (job #2794792) | Borderou de evaluare (job #2529479)
Borderou de evaluare (job #2529479)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::addEdge(int, int, int)':
main.cpp:46:41: warning: narrowing conversion of '(&((Graph*)this)->Graph::g.std::vector<_Tp, _Alloc>::operator[]<std::vector<Graph::Edge>, std::allocator<std::vector<Graph::Edge> > >(((std::vector<std::vector<Graph::Edge> >::size_type)y)))->std::vector<_Tp, _Alloc>::size<Graph::Edge, std::allocator<Graph::Edge> >()' from 'std::vector<Graph::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[x].push_back({y, 0, cap, g[y].size()});
~~~~~~~~~^~
main.cpp:47:44: warning: narrowing conversion of '((&((Graph*)this)->Graph::g.std::vector<_Tp, _Alloc>::operator[]<std::vector<Graph::Edge>, std::allocator<std::vector<Graph::Edge> > >(((std::vector<std::vector<Graph::Edge> >::size_type)x)))->std::vector<_Tp, _Alloc>::size<Graph::Edge, std::allocator<Graph::Edge> >() - 1ul)' from 'std::vector<Graph::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x, 0, cap, g[x].size() - 1});
~~~~~~~~~~~~^~~
main.cpp: In member function 'bool Graph::BFS()':
main.cpp:60:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < g[node].size(); h++){
~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::DFS(int, int)':
main.cpp:75:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int &h = rem[node]; h < g[node].size(); h++){
~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | Incorect | 0 | 0 |
2 | 3ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 3ms | 131kb | Incorect | 0 | 0 |
5 | 3ms | 131kb | Incorect | 0 | 0 |
6 | 3ms | 131kb | Incorect | 0 | 0 |
7 | 5ms | 262kb | Incorect | 0 | 0 |
8 | 8ms | 393kb | Incorect | 0 | 0 |
9 | 8ms | 393kb | Incorect | 0 |
10 | 10ms | 393kb | Incorect | 0 |
Punctaj total | 0 |