Pagini recente » Borderou de evaluare (job #207764) | Borderou de evaluare (job #1775401) | Borderou de evaluare (job #2521551) | Borderou de evaluare (job #78835) | Borderou de evaluare (job #2674549)
Borderou de evaluare (job #2674549)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::add_edge(int, int, int)':
main.cpp:37:33: 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, g[y].size(), 0, cap});
~~~~~~~~~^~
main.cpp:38:33: 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> >()' from 'std::vector<Graph::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x, g[x].size(), 0, 0});
~~~~~~~~~^~
main.cpp: In member function 'bool Graph::bfs()':
main.cpp:50: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:64: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 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 3ms | 131kb | OK | 10 | 10 |
5 | 3ms | 131kb | OK | 10 | 10 |
6 | 3ms | 131kb | Incorect | 0 | 0 |
7 | 5ms | 262kb | OK | 10 | 10 |
8 | 8ms | 393kb | OK | 10 | 30 |
9 | 10ms | 393kb | OK | 10 |
10 | 13ms | 393kb | OK | 10 |
Punctaj total | 90 |