Borderou de evaluare (job #1189238)

Utilizator 05_YohnE1 La5c01 05_Yohn Data 21 mai 2014 21:46:30
Problema Sumfact Status done
Runda Arhiva Monthly Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:6:1: warning: return type defaults to ‘int’ [enabled by default] generate(long n){ ^ user.c:15:1: warning: return type defaults to ‘int’ [enabled by default] calcCoef(long n){ ^ user.c:25:1: warning: return type defaults to ‘int’ [enabled by default] calcCoef1(long n){ ^ user.c:36:1: warning: return type defaults to ‘int’ [enabled by default] main(int argc, char* argv[]){ ^ user.c: In function ‘generate’: user.c:13:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘calcCoef’: user.c:23:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘calcCoef1’: user.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:41:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file,"%ld", &n); ^ user.c:52:40: warning: ‘s2’ may be used uninitialized in this function [-Wmaybe-uninitialized] for( i=1; i<20; i++) { s1+=coef[i]; s2+=coef1[i];} ^ user.c:52:27: warning: ‘s1’ may be used uninitialized in this function [-Wmaybe-uninitialized] for( i=1; i<20; i++) { s1+=coef[i]; s2+=coef1[i];} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK100
20ms260kbOK10
30ms260kbOK10
40ms260kbOK10
50ms264kbOK10
60ms264kbOK10
70ms260kbOK10
80ms260kbOK10
90ms264kbOK10
100ms260kbIncorect0
Punctaj total0

Ceva nu functioneaza?