Borderou de evaluare (job #1509425)

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

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

Ceva nu functioneaza?