Borderou de evaluare (job #1352039)

Utilizator WilagWeroWersenyzokUBB-Andor-Botond-Istvan WilagWeroWersenyzok Data 21 februarie 2015 11:54:52
Problema Por Costel si Comisia de Cenzura Status done
Runda ONIS 2015, Runda 1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:27:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&n); ^ user.c:94:9: warning: implicit declaration of function ‘roundf’ [-Wimplicit-function-declaration] int summ=roundf(sum); ^ user.c:94:18: warning: incompatible implicit declaration of built-in function ‘roundf’ [enabled by default] int summ=roundf(sum); ^ user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ user.c:27:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:30:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f," %[^\n]s",s); ^ user.c:32:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f," %[^\n]s",value); ^ user.c:34:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&m); ^ user.c:38:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f," %[^\n]s",word[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms512kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?