Borderou de evaluare (job #1509379)

Utilizator dcutitoiuCutitoiu Adrian-Nicolae dcutitoiu Data 23 octombrie 2015 19:49:07
Problema Suma Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fp,"%d",&n); ^ user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fp,"%d",&p); ^ user.c:13:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fq,"%d",s); ^ user.c:7:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&n); ^ user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms248kbOK10
30ms256kbIncorect0
40ms252kbIncorect0
50ms256kbIncorect0
60ms248kbIncorect0
70ms248kbIncorect0
80ms248kbIncorect0
90ms252kbIncorect0
100ms252kbIncorect0
Punctaj total20

Ceva nu functioneaza?