Pagini recente » Borderou de evaluare (job #1430343) | Borderou de evaluare (job #1748298) | Borderou de evaluare (job #873763) | Borderou de evaluare (job #1814292) | Borderou de evaluare (job #2310501)
Borderou de evaluare (job #2310501)
Raport evaluator
Compilare:
main.cpp: In function 'void addEdge(int, int, int)':
main.cpp:30:32: warning: narrowing conversion of 'g[y].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[x].push_back({y , g[y].size() , 0 , cap});
~~~~~~~~~^~
main.cpp:31:35: warning: narrowing conversion of '(g[x].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() - 1ul)' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x , g[x].size() - 1 , 0 , 0 });
~~~~~~~~~~~~^~~
main.cpp: In function 'void repair(int, int)':
main.cpp:37:32: warning: narrowing conversion of 'g[y].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[x].push_back({y , g[y].size() , 0 , cap});
~~~~~~~~~^~
main.cpp:38:35: warning: narrowing conversion of '(g[x].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() - 1ul)' from 'std::vector<Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
g[y].push_back({x , g[x].size() - 1 , 0 , 0 });
~~~~~~~~~~~~^~~
main.cpp: In function 'bool bfs()':
main.cpp:54:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0 ; h < g[node].size() ; h++){
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int dfs(int, int)':
main.cpp:72:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int &h = rem[node] ; h < g[node].size() ; h++){
~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | OK | 10 |
2 | 3ms | 262kb | OK | 10 |
3 | 4ms | 262kb | OK | 10 |
4 | 5ms | 393kb | OK | 10 |
5 | 5ms | 393kb | OK | 10 |
6 | 7ms | 393kb | OK | 10 |
7 | 51ms | 3538kb | OK | 10 |
8 | 47ms | 3538kb | OK | 10 |
9 | 50ms | 3538kb | OK | 10 |
10 | 54ms | 3538kb | OK | 10 |
Punctaj total | 100 |