Pagini recente » Borderou de evaluare (job #2016744) | Borderou de evaluare (job #1478868) | Borderou de evaluare (job #1528654) | Borderou de evaluare (job #841319) | Borderou de evaluare (job #2011343)
Borderou de evaluare (job #2011343)
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:59: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:108: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:109: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:92: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:93: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:95: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:101: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 |
1 | 0ms | 348kb | OK | 10 | 10 |
2 | 0ms | 412kb | OK | 10 | 10 |
3 | 0ms | 516kb | OK | 10 | 10 |
4 | 0ms | 592kb | OK | 10 | 10 |
5 | 0ms | 660kb | OK | 10 | 10 |
6 | 0ms | 788kb | OK | 10 | 10 |
7 | 4ms | 1976kb | OK | 10 | 10 |
8 | 16ms | 3228kb | OK | 10 | 30 |
9 | 28ms | 3976kb | OK | 10 |
10 | 40ms | 4448kb | OK | 10 |
Punctaj total | 100 |