Borderou de evaluare (job #2710037)

Utilizator KPP17Popescu Paul KPP17 Data 21 februarie 2021 18:00:27
Problema Eliminare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void B(int, int, int)': main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:11:17: note: in expansion of macro 'm' #define S s, i, m ^ main.cpp:22:12: note: in expansion of macro 'S' else B(S), B(D), C(k); ^ main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:12:14: note: in expansion of macro 'm' #define D d, m+1, j ^ main.cpp:22:18: note: in expansion of macro 'D' else B(S), B(D), C(k); ^ main.cpp: In function 'int I(int, int, int, int)': main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:11:17: note: in expansion of macro 'm' #define S s, i, m ^ main.cpp:27:32: note: in expansion of macro 'S' if (A[s] >= p) return I(p, S); ^ main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:12:14: note: in expansion of macro 'm' #define D d, m+1, j ^ main.cpp:28:24: note: in expansion of macro 'D' return I(p - A[s], D); ^ main.cpp: In function 'void X(int&, int&, int, int, int)': main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:11:17: note: in expansion of macro 'm' #define S s, i, m ^ main.cpp:34:18: note: in expansion of macro 'S' else X(p, v, S), X(p, v, D); ^ main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1)
Test Timp executie Memorie folosita Mesaj Punctaj/test
123ms655kbOK10
233ms1179kbOK10
3379ms7208kbOK10
4560ms7766kbOK10
5980ms14721kbOK10
6811ms15466kbOK10
71254ms16252kbOK10
82394ms32112kbOK10
93143ms32002kbOK10
103277ms32391kbOK10
Punctaj total100

Ceva nu functioneaza?