Pagini recente » Borderou de evaluare (job #1547056) | Borderou de evaluare (job #708607) | Borderou de evaluare (job #873484) | Borderou de evaluare (job #874261) | Borderou de evaluare (job #2593475)
Borderou de evaluare (job #2593475)
Raport evaluator
Compilare:
main.cpp: In member function 'int Dinic::DFS_sendflow(int, int)':
main.cpp:128:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;ind[node]<gr[node].size();ind[node]++){
main.cpp: In member function 'void Dinic::AddEdge(int, int, int)':
main.cpp:174:40: warning: narrowing conversion of '(&((Dinic*)this)->Dinic::gr.std::vector<_Tp, _Alloc>::operator[]<std::vector<Dinic::Edge>, std::allocator<std::vector<Dinic::Edge> > >(((std::vector<std::vector<Dinic::Edge> >::size_type)y)))->std::vector<_Tp, _Alloc>::size<Dinic::Edge, std::allocator<Dinic::Edge> >()' from 'std::vector<Dinic::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
gr[x].push_back({y,0,cap,gr[y].size()});
~~~~~~~~~~^~
main.cpp:176:40: warning: narrowing conversion of '((&((Dinic*)this)->Dinic::gr.std::vector<_Tp, _Alloc>::operator[]<std::vector<Dinic::Edge>, std::allocator<std::vector<Dinic::Edge> > >(((std::vector<std::vector<Dinic::Edge> >::size_type)x)))->std::vector<_Tp, _Alloc>::size<Dinic::Edge, std::allocator<Dinic::Edge> >() - 1ul)' from 'std::vector<Dinic::Edge>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
gr[y].push_back({x,0,0,gr[x].size()-1});
~~~~~~~~~~~~^~
main.cpp: In function 'int main()':
main.cpp:218:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
main.cpp:240:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 262kb | OK | 10 |
8 | 5ms | 262kb | OK | 10 |
9 | 6ms | 262kb | OK | 10 |
10 | 4ms | 262kb | OK | 10 |
Punctaj total | 100 |