Borderou de evaluare (job #1509420)

Utilizator dcutitoiuCutitoiu Adrian-Nicolae dcutitoiu Data 23 octombrie 2015 20:36:40
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: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
10ms256kbOK10
20ms260kbOK10
30ms256kbOK10
40ms260kbOK10
50ms252kbOK10
60ms256kbIncorect0
70ms256kbOK10
80ms260kbOK10
90ms256kbOK10
100ms260kbIncorect0
Punctaj total80

Ceva nu functioneaza?