Borderou de evaluare (job #1527094)

Utilizator CodrutLemeniCodrut Lemeni CodrutLemeni Data 17 noiembrie 2015 20:16:52
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.c: In function ‘creeare_nr’: user.c:12:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.c: In function ‘main’: user.c:27:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ecuatii2.in","r",stdin); ^ user.c:28:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ecuatii2.out","w",stdout); ^ user.c:31:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:32:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.c:37:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbGresit!0
20ms300kbGresit!0
30ms304kbGresit!0
40ms304kbGresit!0
50ms304kbOK!10
60ms304kbOK!10
70ms308kbGresit!0
80ms308kbOK!10
90ms308kbGresit!0
100ms260kbOK!10
Punctaj total40

Ceva nu functioneaza?