Borderou de evaluare (job #2021184)

Utilizator ruxandra_lutanRuxandra Lutan ruxandra_lutan Data 12 septembrie 2017 20:07:33
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
14ms268kbA BA DA!!!20100
24ms272kbA BA DA!!!20
34ms276kbA BA DA!!!20
412ms276kbA BA DA!!!20
536ms272kbA BA DA!!!20
Punctaj total100

Ceva nu functioneaza?