Borderou de evaluare (job #1749576)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 28 august 2016 14:34:16
Problema Prea Simplu! Status done
Runda Junior Challenge 2016 Runda 2 Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&k,&MOD); ^ user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:38:47: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] while (zeros(sav)*2==zeros(sav-zeros(sav)) && zeros(sav)!=0) ^ user.cpp:3:21: note: in definition of macro ‘zeros’ #define zeros(x) ( (x ^ (x - 1)) & x ) ^ user.cpp:38:47: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] while (zeros(sav)*2==zeros(sav-zeros(sav)) && zeros(sav)!=0) ^ user.cpp:3:36: note: in definition of macro ‘zeros’ #define zeros(x) ( (x ^ (x - 1)) & x ) ^ user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("preasimplu.in","r",stdin); ^ user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t); ^ user.cpp:30:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&n,&k,&MOD); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms412kbOK510
20ms412kbOK5
312ms416kbOK515
412ms416kbOK5
58ms416kbOK5
6Depăşit416kbTime limit exceeded.00
7Depăşit408kbTime limit exceeded.0
8Depăşit412kbTime limit exceeded.0
90ms412kbIncorect0
100ms412kbOK5
11Depăşit408kbTime limit exceeded.00
12Depăşit388kbTime limit exceeded.0
13Depăşit408kbTime limit exceeded.0
14Depăşit408kbTime limit exceeded.0
15Depăşit408kbTime limit exceeded.0
16Depăşit408kbTime limit exceeded.00
17Depăşit412kbTime limit exceeded.0
18Depăşit412kbTime limit exceeded.0
19Depăşit412kbTime limit exceeded.0
20Depăşit408kbTime limit exceeded.0
Punctaj total25

Ceva nu functioneaza?