Borderou de evaluare (job #2966871)

Utilizator PHOSSESSEDProsie Radu-Teodor PHOSSESSED Data 18 ianuarie 2023 16:55:26
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In member function 'int Graph::dfs(int, int)': main.cpp:45:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | for(int &h = rem[nod] ; h < vecini[nod].size() ; h++) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::add(int, int, int)': main.cpp:74: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] 74 | vecini[a].push_back({b,vecini[b].size(),c,0}); | ~~~~~~~~~~~~~~^~ main.cpp:75: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] 75 | vecini[b].push_back({a,vecini[a].size() - 1,0,0}); | ~~~~~~~~~~~~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK1010
262ms184kbTime limit exceeded00
360ms184kbTime limit exceeded00
462ms184kbTime limit exceeded00
560ms184kbTime limit exceeded00
662ms184kbTime limit exceeded00
760ms315kbTime limit exceeded00
863ms446kbTime limit exceeded00
960ms446kbTime limit exceeded0
1063ms577kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?