Borderou de evaluare (job #1549925)

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

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
10ms244kbOKAY!10
20ms244kbOKAY!10
30ms248kbOKAY!10
40ms244kbOKAY!10
50ms248kbOKAY!10
60ms240kbOKAY!10
70ms244kbOKAY!10
80ms244kbOKAY!10
90ms248kbOKAY!10
100ms240kbOKAY!10
Punctaj total100

Ceva nu functioneaza?