Borderou de evaluare (job #1981570)

Utilizator NToniBoSSNicolae Tonitza NToniBoSS Data 16 mai 2017 00:23:22
Problema Cifra Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:20:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%10==2) ^ user.c:28:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%10==3) ^ user.c:36:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%10==4) ^ user.c:42:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%10==7) ^ user.c:50:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%10==8) ^ user.c:58:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%10==9) ^ user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.in","r",stdin); ^ user.c:9:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.out","w",stdout); ^ user.c:10:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.c:13:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK!10
20ms276kbOK!10
30ms280kbOK!10
40ms276kbOK!10
50ms276kbOK!10
60ms280kbOK!10
74ms276kbOK!10
812ms276kbOK!10
920ms276kbOK!10
1040ms276kbOK!10
Punctaj total100

Ceva nu functioneaza?