Borderou de evaluare (job #2011338)

Utilizator EuAlexOtaku Hikikomori EuAlex Data 15 august 2017 21:05:05
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int bfs()’: user.cpp:33:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < g[from].size(); ++ k) { ^ user.cpp: In function ‘int dfs(int, int)’: user.cpp:52:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = rem[from]; k < g[from].size(); ++ k) { ^ user.cpp: In function ‘int main()’: user.cpp:101:46: warning: narrowing conversion of ‘g[j].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >()’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] g[i].push_back({j, g[j].size(), cap[i][j], 0}); ^ user.cpp:102:48: warning: narrowing conversion of ‘(g[i].std::vector<_Tp, _Alloc>::size<Muchie, std::allocator<Muchie> >() + 4294967295u)’ from ‘std::vector<Muchie>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] g[j].push_back({i, g[i].size() - 1, cap[j][i], 0}); ^ user.cpp:85:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxflow.in", "r", stdin); ^ user.cpp:86:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxflow.out", "w", stdout); ^ user.cpp:88:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:94:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit312kbTime limit exceeded.00
2Depăşit384kbTime limit exceeded.00
3Depăşit488kbTime limit exceeded.00
4Depăşit564kbTime limit exceeded.00
5Depăşit624kbTime limit exceeded.00
6Depăşit764kbTime limit exceeded.00
7Depăşit1944kbTime limit exceeded.00
8Depăşit3200kbTime limit exceeded.00
9Depăşit3944kbTime limit exceeded.0
10Depăşit4424kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?