Borderou de evaluare (job #2899348)

Utilizator ClaudiuChelceaClaudiuChelcea ClaudiuChelcea Data 8 mai 2022 16:15:07
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void query(int, int, int)': main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:20:12: note: in expansion of macro 'md' 20 | if (a <= md) | ^~ main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:21:19: note: in expansion of macro 'md' 21 | query (ls, l, md); | ^~ main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:22:7: note: in expansion of macro 'md' 22 | if (md + 1 <= b) | ^~ main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:23:16: note: in expansion of macro 'md' 23 | query (rs, md + 1, r); | ^~ main.cpp: In function 'void update(int, int, int)': main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:33:16: note: in expansion of macro 'md' 33 | if (a <= md) | ^~ main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:34:24: note: in expansion of macro 'md' 34 | update (ls, l, md); | ^~ main.cpp:3:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 3 | #define md (l + r >> 1) | ~~^~~ main.cpp:36:21: note: in expansion of macro 'md' 36 | update (rs, md + 1, r); | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbOK1010
25ms184kbOK1010
319ms294kbOK1010
435ms540kbOK1010
5103ms2514kbOK1010
699ms2510kbOK1050
7184ms3063kbOK10
8264ms2560kbOK10
9205ms2605kbOK10
10164ms2580kbOK10
Punctaj total100

Ceva nu functioneaza?