Borderou de evaluare (job #2011849)

Utilizator Rodik_RodyRodica Vasilescu Rodik_Rody Data 17 august 2017 13:04:00
Problema Bunicu Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:14:5: warning: statement with no effect [-Wunused-value] for(t; t!=0; t--){ ^ user.c:17:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[1000]’ [-Wformat=] scanf("%s",&a), printf("%d",a[i] == '0' ? 1 : 0); ^ user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(in, "r", stdin); ^ user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(out, "w", stdout); ^ user.c:13:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.c:15:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:17:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&a), printf("%d",a[i] == '0' ? 1 : 0); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms272kbA BA DA!!!20100
24ms272kbA BA DA!!!20
34ms272kbA BA DA!!!20
416ms268kbA BA DA!!!20
532ms272kbA BA DA!!!20
Punctaj total100

Ceva nu functioneaza?