Borderou de evaluare (job #2545852)

Utilizator AlexandruLuchianov1Alex Luchianov AlexandruLuchianov1 Data 13 februarie 2020 16:42:45
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::addedge(int, int, int)': main.cpp:43: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:44:42: 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, 0, g[x].size() - 1}); ~~~~~~~~~~~~^~~ main.cpp: In member function 'bool Graph::BFS()': main.cpp:55: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:70: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
12ms131kbKilled by Signal 1100
22ms131kbKilled by Signal 1100
32ms131kbKilled by Signal 1100
42ms131kbKilled by Signal 1100
53ms131kbKilled by Signal 1100
62ms131kbKilled by Signal 1100
72ms131kbKilled by Signal 1100
82ms131kbKilled by Signal 1100
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?