Borderou de evaluare (job #1998825)

Utilizator AlexandruLuchianov1Alex Luchianov AlexandruLuchianov1 Data 9 iulie 2017 12:32:49
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void addedge(int, int)’: user.cpp:25:32: warning: narrowing conversion of ‘g[j].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] g[i].push_back({j, g[j].size(), cost[i][j], 0}); ^ user.cpp:26:34: warning: narrowing conversion of ‘(g[i].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() + 4294967295u)’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] g[j].push_back({i, g[i].size() - 1, cost[j][i], 0}); ^ user.cpp: In function ‘bool bfs()’: user.cpp:41:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < g[from].size() ;i++) { ^ user.cpp: In function ‘int dfs(int, int)’: user.cpp:58:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int &i = rem[from]; i < g[from].size(); i++){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms500kbOK1010
2Depăşit524kbTime limit exceeded.00
3Depăşit632kbTime limit exceeded.00
4Depăşit700kbTime limit exceeded.00
5Depăşit776kbTime limit exceeded.00
6Depăşit896kbTime limit exceeded.00
7Depăşit2092kbTime limit exceeded.00
8Depăşit3352kbTime limit exceeded.00
9Depăşit4100kbTime limit exceeded.0
10Depăşit4572kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?