Borderou de evaluare (job #1250722)

Utilizator tunetuTnT. B. tunetu Data 28 octombrie 2014 14:09:08
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:9:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&a); ^ user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&b); ^ user.c:21:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",a); ^ user.c:9:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a); ^ user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOKAY!10
20ms248kbOKAY!10
30ms244kbOKAY!10
40ms228kbOKAY!10
50ms240kbOKAY!10
60ms232kbOKAY!10
70ms244kbOKAY!10
80ms236kbOKAY!10
90ms228kbOKAY!10
100ms244kbOKAY!10
Punctaj total100

Ceva nu functioneaza?