Borderou de evaluare (job #2989963)

Utilizator PHOSSESSEDProsie Radu-Teodor PHOSSESSED Data 7 martie 2023 12:37:38
Problema Sabotaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

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:145:29: warning: unused variable 'baka' [-Wunused-variable] 145 | graph.reset(sa,st); int baka = graph.maxflow(); | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms172kbRaspuns corect. Felicitari!10
20ms172kbRaspuns corect. Felicitari!10
31ms172kbRaspuns corect. Felicitari!10
468ms303kbRaspuns corect. Felicitari!10
5228ms303kbTime limit exceeded0
6228ms434kbTime limit exceeded0
7227ms434kbTime limit exceeded0
8228ms696kbTime limit exceeded0
9226ms434kbTime limit exceeded0
10228ms827kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?