Pagini recente » Borderou de evaluare (job #212563) | Borderou de evaluare (job #3142355) | Borderou de evaluare (job #635829) | Borderou de evaluare (job #2553942) | Borderou de evaluare (job #2989967)
Borderou de evaluare (job #2989967)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dfs(int, int)':
main.cpp:44:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int &h = rem[nod]; h < muchii[nod].size() ; h++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::add(int, int, int, int)':
main.cpp:73:50: warning: narrowing conversion of '(&((Graph*)this)->Graph::muchii.std::vector<std::vector<Graph::muchie> >::operator[](((std::vector<std::vector<Graph::muchie> >::size_type)b)))->std::vector<Graph::muchie>::size()' from 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
73 | muchii[a].push_back({b,0,c,muchii[b].size(),t});
| ~~~~~~~~~~~~~~^~
main.cpp:74:53: warning: narrowing conversion of '((&((Graph*)this)->Graph::muchii.std::vector<std::vector<Graph::muchie> >::operator[](((std::vector<std::vector<Graph::muchie> >::size_type)a)))->std::vector<Graph::muchie>::size() - 1)' from 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
74 | muchii[b].push_back({a,0,0,muchii[a].size() - 1,t});
| ~~~~~~~~~~~~~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:142:29: warning: unused variable 'baka' [-Wunused-variable]
142 | graph.reset(sa,st); int baka = graph.maxflow();
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Raspuns corect. Felicitari! | 10 |
2 | 0ms | 184kb | Raspuns corect. Felicitari! | 10 |
3 | 0ms | 184kb | Raspuns corect. Felicitari! | 10 |
4 | 3ms | 315kb | Raspuns corect. Felicitari! | 10 |
5 | 4ms | 303kb | Raspuns corect. Felicitari! | 10 |
6 | 8ms | 434kb | Raspuns corect. Felicitari! | 10 |
7 | 39ms | 434kb | Raspuns corect. Esti tare! | 10 |
8 | 88ms | 696kb | Raspuns corect. Esti tare! | 10 |
9 | 44ms | 487kb | Raspuns corect. Esti tare! | 10 |
10 | 143ms | 741kb | Raspuns corect. Esti tare! | 10 |
Punctaj total | 100 |