Borderou de evaluare (job #2117054)

Utilizator 24601Dan Ban 24601 Data 28 ianuarie 2018 14:24:39
Problema Prefix Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:15:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 2 has type ‘size_t *’ [-Wformat=] scanf("%lu", &t); ^ user.c:62:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat=] printf("%lu\n", i); ^ user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in", "r", stdin); ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.out", "w", stdout); ^ user.c:15:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lu", &t); ^ user.c:19:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(p, sizeof s, stdin); ^ In file included from /usr/include/stdio.h:934:0, from user.c:1: In function ‘fgets’, inlined from ‘main’ at user.c:19:14: /usr/include/i386-linux-gnu/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms272kbOK10
3Depăşit340kbTime limit exceeded.0
4Depăşit504kbTime limit exceeded.0
5Depăşit348kbTime limit exceeded.0
6Depăşit416kbTime limit exceeded.0
7Depăşit856kbTime limit exceeded.0
8Depăşit1180kbTime limit exceeded.0
9Depăşit336kbTime limit exceeded.0
104ms268kbOK10
Punctaj total30

Ceva nu functioneaza?