Borderou de evaluare (job #2394668)

Utilizator NeredesinI am not real Neredesin Data 1 aprilie 2019 19:48:52
Problema Mm Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void build(int, int, int)': main.cpp:5:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define md (l+r>>1) ~^~ main.cpp:38:20: note: in expansion of macro 'md' build(ls,l,md); ^~ main.cpp:5:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define md (l+r>>1) ~^~ main.cpp:39:18: note: in expansion of macro 'md' build(rs,md+1,r); ^~ main.cpp: In function 'void update(int, int, int)': main.cpp:5:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define md (l+r>>1) ~^~ main.cpp:53:11: note: in expansion of macro 'md' if(a<=md) ^~ main.cpp:5:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define md (l+r>>1) ~^~ main.cpp:54:21: note: in expansion of macro 'md' update(ls,l,md); ^~ main.cpp:5:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define md (l+r>>1) ~^~ main.cpp:55:10: note: in expansion of macro 'md' if(b>md) ^~ main.cpp:5:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define md (l+r>>1) ~^~ main.cpp:56:19: note: in expansion of macro 'md' update(rs,md+1,r); ^~ main.cpp: In function 'int solve()': main.cpp:107:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] m=i+j>>1; ~^~ main.cpp: In function 'void read()': main.cpp:17:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mm.in","r",stdin); ^ main.cpp:18:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&l,&p); ^ main.cpp:20:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK10100
28ms262kbOK10
344ms786kbOK10
4534ms3801kbOK10
5219ms4325kbOK10
6729ms5505kbOK10
71099ms5373kbOK10
82527ms7471kbOK10
92613ms7471kbOK10
101768ms7602kbOK10
Punctaj total100

Ceva nu functioneaza?