Borderou de evaluare (job #1549924)

Utilizator ElitemdMaxim Cotruta Elitemd Data 12 decembrie 2015 22:20:22
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c:5:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main() ^ user.c: In function ‘main’: user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f, "%d%d", &a, &b); ^ user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:19:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g, "%d\n", rez); ^ user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbWrong Answer.0
20ms244kbOKAY!10
30ms244kbOKAY!10
40ms240kbWrong Answer.0
50ms244kbOKAY!10
60ms244kbWrong Answer.0
70ms248kbOKAY!10
80ms248kbWrong Answer.0
90ms244kbWrong Answer.0
100ms248kbOKAY!10
Punctaj total50

Ceva nu functioneaza?