Borderou de evaluare (job #1232906)

Utilizator thinkphpAdrian Statescu thinkphp Data 24 septembrie 2014 10:57:46
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:68:10: warning: unused variable ‘k’ [-Wunused-variable] k, min, posMin; ^ user.c: In function ‘read’: user.c:17:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.c:19:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &num_nodes, &num_edges); ^ user.c:39: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:112:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^ user.c:108: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
10ms300kbCorect10
20ms324kbCorect10
30ms1008kbCost incorect0
40ms1364kbCost incorect0
50ms1032kbCost incorect0
640ms9028kbKilled by signal 11(SIGSEGV).0
7132ms9028kbKilled by signal 11(SIGSEGV).0
824ms9024kbKilled by signal 11(SIGSEGV).0
912ms9028kbKilled by signal 11(SIGSEGV).0
1088ms9024kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?