Borderou de evaluare (job #2189552)

Utilizator AlexandruLuchianov1Alex Luchianov AlexandruLuchianov1 Data 28 martie 2018 16:39:17
Problema Critice Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void addEdge(int, int, int, int)’: user.cpp:29:37: 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] g[from].push_back({to , g[to].size() , cap , 0, index }); ~~~~~~~~~~^~ user.cpp:30:42: warning: narrowing conversion of ‘(g[from].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >() - 1u)’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] g[to].push_back({from , g[from].size() - 1 , cap , 0 , index} ); ~~~~~~~~~~~~~~~^~~ user.cpp: In function ‘bool bfs()’: user.cpp:45:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int h = 0 ; h < g[node].size() ;h++){ ~~^~~~~~~~~~~~~~~~ user.cpp: In function ‘int dfs(int, int)’: user.cpp:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int &h = rem[node] ; h < g[node].size() ;h++){ ~~^~~~~~~~~~~~~~~~ user.cpp: In function ‘int maxflow()’: user.cpp:82:10: warning: unused variable ‘ok’ [-Wunused-variable] bool ok = 0; ^~ user.cpp: In function ‘void mark(int, int)’: user.cpp:100:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int h = 0 ; h < g[node].size() ;h++){ ~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1276kbToo bad!0
20ms1276kbOkay!10
30ms1336kbToo bad!0
40ms1312kbToo bad!0
50ms1340kbToo bad!0
64ms1548kbKilled by signal 11(SIGSEGV).0
78ms2020kbKilled by signal 11(SIGSEGV).0
88ms1796kbKilled by signal 11(SIGSEGV).0
98ms1728kbKilled by signal 11(SIGSEGV).0
1012ms1912kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?