Borderou de evaluare (job #2058251)

Utilizator AmotleinadSurmei Toma Gabriel Amotleinad Data 5 noiembrie 2017 13:19:49
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:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&a); ^ user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&b); ^ user.c:20:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] else fprintf(g,"%d",b); ^ user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a); ^ user.c:10:11: 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
10ms248kbOKAY!10
20ms256kbOKAY!10
30ms256kbOKAY!10
40ms244kbOKAY!10
50ms260kbOKAY!10
60ms244kbOKAY!10
70ms260kbOKAY!10
80ms252kbOKAY!10
90ms248kbOKAY!10
100ms252kbOKAY!10
Punctaj total100

Ceva nu functioneaza?