Borderou de evaluare (job #1674305)

Utilizator ReksioCroftOctavian Florin Staicu ReksioCroft Data 4 aprilie 2016 16:23:52
Problema Interclasare Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:33:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int (*)[10000]’ [-Wformat=] fscanf( fin, "%d", &a[i] ); ^ user.c:36:17: error: expected expression before ‘)’ token for( i=0; i<) ^ user.c:28:34: warning: unused variable ‘j’ [-Wunused-variable] int n, m, k, nr, co, max, i, j; ^ user.c:28:18: warning: unused variable ‘nr’ [-Wunused-variable] int n, m, k, nr, co, max, i, j; ^ user.c:31:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &n ); ^ user.c:33:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &a[i] ); ^ user.c:34:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &m ); ^

Ceva nu functioneaza?