Pagini recente » Borderou de evaluare (job #1427913) | Borderou de evaluare (job #1371157) | Borderou de evaluare (job #1096025) | Borderou de evaluare (job #1698702) | Borderou de evaluare (job #2586480)
Borderou de evaluare (job #2586480)
Raport evaluator
Compilare:
main.cpp: In member function 'int Dinic::DFS_sendflow(int, int)':
main.cpp:39: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:62: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:63: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:83: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:87:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 3ms | 131kb | OK | 10 | 10 |
6 | 3ms | 131kb | OK | 10 | 10 |
7 | 5ms | 262kb | OK | 10 | 10 |
8 | 8ms | 393kb | OK | 10 | 30 |
9 | 10ms | 393kb | OK | 10 |
10 | 12ms | 393kb | OK | 10 |
Punctaj total | 100 |