Borderou de evaluare (job #2045713)

Utilizator MIhaiBalosuBalosu Mihai Costinel MIhaiBalosu Data 22 octombrie 2017 19:35:54
Problema A+B Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:14:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] scanf("%d",&a); ^ user.c:15:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] scanf("%d",&b); ^ user.c:17:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d",c); ^ user.c:11:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("adunare.in","r",stdin); ^ user.c:12:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("adunare.out","w",stdout); ^ user.c:14:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ user.c:15:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
70ms264kbOkay!1040
80ms268kbOkay!10
90ms268kbOkay!10
100ms264kbOkay!10
10ms260kbOkay!1030
20ms268kbOkay!10
30ms264kbOkay!10
40ms268kbOkay!1030
50ms264kbOkay!10
60ms272kbOkay!10
Punctaj total100

Ceva nu functioneaza?