Borderou de evaluare (job #2989950)

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

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({b,0,0,muchii[a].size() - 1,t}); | ~~~~~~~~~~~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms172kbIncorect. Muchiile trebuie afisate in ordine crescatoare a indicelui0
20ms172kbIncorect. Muchiile trebuie afisate in ordine crescatoare a indicelui0
31ms172kbRaspuns corect. Felicitari!10
468ms303kbIncorect. Muchiile trebuie afisate in ordine crescatoare a indicelui0
5228ms303kbTime limit exceeded0
6228ms434kbTime limit exceeded0
7228ms434kbTime limit exceeded0
8228ms696kbTime limit exceeded0
9228ms434kbTime limit exceeded0
10227ms827kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?