Borderou de evaluare (job #199112)

Utilizator avatar mihai2003 Indreias Mihai mihai2003 IP ascuns
Problemă Bețișoare (clasa a 6-a) Compilator c
Rundă runda1_pregatire_oni6 Status evaluat
Dată 13 feb. 2016 15:07:29 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:14:9: warning: implicit declaration of function ‘fgetchar’ [-Wimplicit-function-declaration] user.c:9:12: warning: unused variable ‘last’ [-Wunused-variable] user.c:7:26: warning: unused variable ‘nr2’ [-Wunused-variable] user.c:7:19: warning: unused variable ‘x’ [-Wunused-variable] user.c:7:15: warning: unused variable ‘j’ [-Wunused-variable] user.c:6:16: warning: unused variable ‘fout’ [-Wunused-variable] user.c:6:11: warning: unused variable ‘fin’ [-Wunused-variable] user.c:10:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] user.c:12:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:30:11: warning: ‘curent’ may be used uninitialized in this function [-Wuninitialized] /tmp/cckU4ONg.o: In function `main': user.c:(.text.startup+0x69): undefined reference to `fgetchar' user.c:(.text.startup+0xb3): undefined reference to `fgetchar' user.c:(.text.startup+0xc7): undefined reference to `fgetchar' collect2: ld returned 1 exit status