Borderou de evaluare (job #1509423)

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

Ceva nu functioneaza?