Borderou de evaluare (job #1509424)

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

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:10: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
10ms256kbOK10
20ms248kbOK10
30ms252kbOK10
40ms252kbOK10
50ms256kbOK10
60ms252kbOK10
70ms256kbIncorect0
80ms256kbIncorect0
90ms256kbOK10
100ms252kbOK10
Punctaj total80

Ceva nu functioneaza?