Borderou de evaluare (job #1428881)

Utilizator hrazvanHarsan Razvan hrazvan Data 5 mai 2015 11:22:01
Problema Jimmy Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:14:7: warning: passing argument 1 of ‘fgets’ from incompatible pointer type [enabled by default] fgets(s, 50, in); ^ In file included from /usr/include/stdio.h:934:0, from user.c:1: /usr/include/i386-linux-gnu/bits/stdio2.h:245:1: note: expected ‘char * restrict’ but argument is of type ‘int *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ user.c:8:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &t); ^ user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d ", &x); ^ user.c:14:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 50, in); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms264kbOK100
Punctaj total100

Ceva nu functioneaza?