Borderou de evaluare (job #2674549)

Utilizator AlexLuchianovAlexandru Luchianov AlexLuchianov Data 19 noiembrie 2020 16:56:58
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

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
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
43ms131kbOK1010
53ms131kbOK1010
63ms131kbIncorect00
75ms262kbOK1010
88ms393kbOK1030
910ms393kbOK10
1013ms393kbOK10
Punctaj total90

Ceva nu functioneaza?