Borderou de evaluare (job #1707804)

Utilizator misu97Mihai Ueban misu97 Data 25 mai 2016 21:49:53
Problema Bere Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:17:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=] scanf("%d",&pret[i]),st+=pret[i]; ^ user.c:12:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("br.in","r",stdin); ^ user.c:13:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("br.out","w",stdout); ^ user.c:15:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&t); ^ user.c:17:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&pret[i]),st+=pret[i]; ^ user.c:22:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&pr,&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
24ms276kbOK10
34ms272kbOK10
420ms272kbOK10
520ms276kbOK10
632ms268kbOK10
796ms276kbOK10
8Depăşit284kbTime limit exceeded.0
9Depăşit280kbTime limit exceeded.0
10Depăşit280kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?