Borderou de evaluare (job #2010956)

Utilizator DianaPopDiana Pop DianaPop Data 14 august 2017 20:06:43
Problema Cifra Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:23:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[105]’ [-Wformat=] scanf( "%s\n" , &s ); ^ user.c:24:9: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] l = strlen(s); ^ user.c:24:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] l = strlen(s); ^ user.c:10:18: warning: unused variable ‘ch’ [-Wunused-variable] char s[105], ch; ^ user.c:6:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen( "cifra.in" , "r" , stdin ); ^ user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.out","w",stdout); ^ user.c:21:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d" , &t ); ^ user.c:23:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%s\n" , &s ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK!10
20ms268kbOK!10
30ms264kbOK!10
40ms272kbOK!10
50ms268kbOK!10
60ms264kbOK!10
74ms268kbOK!10
84ms272kbOK!10
912ms264kbOK!10
1020ms272kbOK!10
Punctaj total100

Ceva nu functioneaza?