Borderou de evaluare (job #1998813)

Utilizator AlexandruLuchianov1Alex Luchianov AlexandruLuchianov1 Data 9 iulie 2017 12:22:26
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:45: 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ăşit528kbTime limit exceeded.00
3Depăşit636kbTime limit exceeded.00
4Depăşit704kbTime limit exceeded.00
5Depăşit772kbTime limit exceeded.00
6Depăşit904kbTime limit exceeded.00
7Depăşit2096kbTime limit exceeded.00
8Depăşit3356kbTime limit exceeded.00
9Depăşit4100kbTime limit exceeded.0
10Depăşit4580kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?