Borderou de evaluare (job #2989958)

Utilizator PHOSSESSEDProsie Radu-Teodor PHOSSESSED Data 7 martie 2023 12:35:16
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}); | ~~~~~~~~~~~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbRaspuns corect. Felicitari!10
20ms184kbRaspuns corect. Felicitari!10
30ms184kbRaspuns corect. Felicitari!10
4190ms315kbRaspuns corect. Felicitari!10
5454ms315kbTime limit exceeded0
6453ms315kbTime limit exceeded0
7452ms446kbTime limit exceeded0
8450ms708kbTime limit exceeded0
9453ms446kbTime limit exceeded0
10456ms708kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?