Borderou de evaluare (job #1240155)

Utilizator jameqszJame McCollin jameqsz Data 10 octombrie 2014 16:46:19
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:8:5: warning: format ‘%i’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fp,"%i %i",&a,&b); ^ user.c:8:5: warning: format ‘%i’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:16:5: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout,"%i",b); ^ user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i %i",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbWrong Answer.0
20ms236kbOKAY!10
30ms232kbOKAY!10
40ms232kbWrong Answer.0
50ms236kbOKAY!10
60ms240kbWrong Answer.0
70ms232kbOKAY!10
80ms236kbWrong Answer.0
90ms236kbWrong Answer.0
100ms236kbOKAY!10
Punctaj total50

Ceva nu functioneaza?