Borderou de evaluare (job #2058249)

Utilizator AmotleinadSurmei Toma Gabriel Amotleinad Data 5 noiembrie 2017 13:15:24
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

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:19:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 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
10ms260kbWrong Answer.0
20ms256kbOKAY!10
30ms256kbOKAY!10
40ms260kbWrong Answer.0
50ms256kbOKAY!10
60ms256kbWrong Answer.0
70ms256kbOKAY!10
80ms256kbWrong Answer.0
90ms256kbWrong Answer.0
100ms256kbOKAY!10
Punctaj total50

Ceva nu functioneaza?