Borderou de evaluare (job #1507074)

Utilizator CodrutLemeniCodrut Lemeni CodrutLemeni Data 21 octombrie 2015 12:16:31
Problema Lacuri Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:118:5: error: ‘lung’ undeclared (first use in this function) lung=harta[n-1][n-1]; ^ user.c:118:5: note: each undeclared identifier is reported only once for each function it appears in user.c:48:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacuri.in","r",stdin); ^ user.c:49:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacuri.out","w",stdout); ^ user.c:51:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:55:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&harta[i][j]); ^

Ceva nu functioneaza?