Borderou de evaluare (job #1232918)

Utilizator thinkphpAdrian Statescu thinkphp Data 24 septembrie 2014 11:23:41
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘solve’: user.c:69:10: warning: unused variable ‘k’ [-Wunused-variable] k, min, posMin; ^ user.c: In function ‘read’: user.c:18:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.c:20:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &num_nodes, &num_edges); ^ user.c:40:17: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &i, &j, &c); ^ user.c: In function ‘solve’: user.c:116:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^ user.c:112:78: warning: ‘posMin’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(S[j] && mat[ posMin ][ j ] < mat[ S[j] ][ j ] ) S[j] = posMin; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbCorect10
20ms328kbCorect10
30ms1020kbCost incorect0
40ms1360kbCost incorect0
50ms1032kbCost incorect0
652msDepăşitMemory limit exceeded.0
752msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?