Borderou de evaluare (job #2010546)

Utilizator GoogalAbabei Daniel Googal Data 13 august 2017 15:54:02
Problema Cuplaj maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void addedge(int, int, int, int)’: user.cpp:43:34: warning: narrowing conversion of ‘g[to].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] Edge direct = {to, g[to].size(), 0, 1, cost, ind}; ^ user.cpp:44:38: warning: narrowing conversion of ‘g[from].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] Edge inverse = {from, g[from].size(), 0, 0, -cost, -1}; ^ user.cpp: In function ‘void bellmanford()’: user.cpp:61:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < g[from].size(); i++){ ^ user.cpp: In function ‘void dijkstra()’: user.cpp:92:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < g[from].size(); i++){ ^ user.cpp: In function ‘int main()’: user.cpp:166:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < g[i].size(); j++){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbKilled by signal 6(SIGABRT).0
20ms468kbKilled by signal 6(SIGABRT).0
312ms676kbKilled by signal 6(SIGABRT).0
412ms652kbKilled by signal 6(SIGABRT).0
512ms644kbKilled by signal 6(SIGABRT).0
6356ms3416kbKilled by signal 6(SIGABRT).0
7324ms3716kbKilled by signal 6(SIGABRT).0
8540ms4404kbKilled by signal 6(SIGABRT).0
9532ms4444kbKilled by signal 6(SIGABRT).0
10532ms4416kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?