Borderou de evaluare (job #2011341)

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

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:104: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:105: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:88: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:89: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:91: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:97: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
10ms340kbOK1010
2Depăşit380kbTime limit exceeded.00
3Depăşit488kbTime limit exceeded.00
4Depăşit560kbTime limit exceeded.00
5Depăşit624kbTime limit exceeded.00
6Depăşit756kbTime limit exceeded.00
7Depăşit1952kbTime limit exceeded.00
8Depăşit3200kbTime limit exceeded.00
9Depăşit3948kbTime limit exceeded.0
10Depăşit4416kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?