Borderou de evaluare (job #2065856)

Utilizator b0gd4nBogdan b0gd4n Data 14 noiembrie 2017 13:08:55
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘void Graph::AddEdge(int, int, int)’: user.cpp:56:30: warning: narrowing conversion of ‘((Graph*)this)->Graph::G[v].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] Edge a {v, c, 0, G[v].size()}; ^ user.cpp:57:30: warning: narrowing conversion of ‘((Graph*)this)->Graph::G[u].std::vector<_Tp, _Alloc>::size<Edge, std::allocator<Edge> >()’ from ‘std::vector<Edge>::size_type {aka unsigned int}’ to ‘int’ inside { } [-Wnarrowing] Edge b {u, c, 0, G[u].size()}; ^ user.cpp: In member function ‘bool Graph::augumentingPath(int, int)’: user.cpp:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 0; i <= Terminal; i++) ^ user.cpp: In function ‘void read()’: user.cpp:127:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 0, u, v, c; i < M; i++) ^ user.cpp:126:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &N, &M); ^ user.cpp:129:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d", &u, &v, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit424kbTime limit exceeded.00
20ms424kbKilled by signal 11(SIGSEGV).00
30ms436kbKilled by signal 11(SIGSEGV).00
40ms440kbKilled by signal 11(SIGSEGV).00
50ms436kbKilled by signal 11(SIGSEGV).00
60ms448kbKilled by signal 11(SIGSEGV).00
70ms528kbKilled by signal 11(SIGSEGV).00
84ms624kbKilled by signal 11(SIGSEGV).00
94ms620kbKilled by signal 11(SIGSEGV).0
104ms676kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?