Borderou de evaluare (job #1784426)

Utilizator gorneanu.andreiFMI Gorneanu Andrei gorneanu.andrei Data 20 octombrie 2016 00:17:13
Problema Kbiti Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:20:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[40]’ [-Wformat=] {scanf("%s",&sir); ^ user.c:34:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",m+1); ^ user.c:10:21: warning: variable ‘l’ set but not used [-Wunused-but-set-variable] long long int m,l,putere; ^ user.c:7:14: warning: unused variable ‘g’ [-Wunused-variable] FILE *f,*g; ^ user.c:7:11: warning: unused variable ‘f’ [-Wunused-variable] FILE *f,*g; ^ user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.in","r",stdin); ^ user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.out","w",stdout); ^ user.c:14:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:20:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%s",&sir); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms268kbIncorect0
30ms264kbIncorect0
40ms264kbIncorect0
50ms264kbIncorect0
68ms268kbIncorect0
728ms268kbIncorect0
844ms264kbIncorect0
992ms272kbIncorect0
10100ms272kbIncorect0
Punctaj total10

Ceva nu functioneaza?