Borderou de evaluare (job #1484711)

Utilizator mike93Indricean Mihai mike93 Data 11 septembrie 2015 18:23:14
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:55:6: error: redeclaration of ‘i’ with no linkage int i = m - 1; ^ user.c:8:6: note: previous declaration of ‘i’ was here int i, j; ^ user.c:56:6: error: redeclaration of ‘j’ with no linkage int j = n - 1; ^ user.c:8:9: note: previous declaration of ‘j’ was here int i, j; ^ user.c:7:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d\n", &m, &n); ^ user.c:11:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d ", &a[i]); ^ user.c:13:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "\n"); ^ user.c:15:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d ", &b[j]); ^

Ceva nu functioneaza?