Borderou de evaluare (job #1256625)

Utilizator xoSauceSergiu Ferentz xoSauce Data 6 noiembrie 2014 17:58:58
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘bool Graph::forms_cycle(Edge)’: user.cpp:77:6: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In member function ‘void Graph::print_edges()’: user.cpp:97:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v.size(); i++){ ^ user.cpp: In member function ‘void Graph::compute_mst()’: user.cpp:106:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1 ;i < v.size(); i++){ ^ user.cpp: In member function ‘void Graph::print_mst()’: user.cpp:120:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < mst_indexes.size(); i++){ ^ user.cpp: In function ‘int main()’: user.cpp:129:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.in","r",stdin); ^ user.cpp:130:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.out","w",stdin); ^ user.cpp:132:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:136:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms360kbKilled by signal 11(SIGSEGV).0
20ms364kbKilled by signal 11(SIGSEGV).0
30ms360kbKilled by signal 11(SIGSEGV).0
40ms360kbKilled by signal 11(SIGSEGV).0
50ms360kbKilled by signal 11(SIGSEGV).0
60ms360kbKilled by signal 11(SIGSEGV).0
70ms360kbKilled by signal 11(SIGSEGV).0
80ms356kbKilled by signal 11(SIGSEGV).0
90ms360kbKilled by signal 11(SIGSEGV).0
100ms356kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?