Borderou de evaluare (job #2966439)

Utilizator PHOSSESSEDProsie Radu-Teodor PHOSSESSED Data 17 ianuarie 2023 17:13:43
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'int Graph::dfs(int, int)': main.cpp:49:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int &h = rem[nod] ; h < vecini[nod].size() ; h++) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::add(int, int, int)': main.cpp:81:46: warning: narrowing conversion of '(&((Graph*)this)->Graph::vecini.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] 81 | vecini[a].push_back({b,vecini[b].size(),0,c}); | ~~~~~~~~~~~~~~^~ main.cpp:82:49: warning: narrowing conversion of '((&((Graph*)this)->Graph::vecini.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] 82 | vecini[b].push_back({a,vecini[a].size() - 1,0,0}); | ~~~~~~~~~~~~~~~~~^~~ main.cpp: In function 'int main()': main.cpp:72:23: warning: 'graph.Graph::n' is used uninitialized in this function [-Wuninitialized] 72 | vecini.resize(n + 1); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms14688kbKilled by Signal 900
215ms20496kbMemory limit exceeded00
315ms20496kbMemory limit exceeded00
415ms20496kbMemory limit exceeded00
515ms20496kbMemory limit exceeded00
615ms20496kbMemory limit exceeded00
715ms20496kbMemory limit exceeded00
815ms20496kbMemory limit exceeded00
915ms20496kbMemory limit exceeded0
1015ms20496kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?