Borderou de evaluare (job #2710266)

Utilizator KPP17Popescu Paul KPP17 Data 22 februarie 2021 11:51:40
Problema Eliminare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void B(int, int, int)': main.cpp:9:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:12:17: note: in expansion of macro 'm' #define S s, i, m ^ main.cpp:23:12: note: in expansion of macro 'S' else B(S), B(D), C(k); ^ main.cpp:9:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:13:14: note: in expansion of macro 'm' #define D d, m+1, j ^ main.cpp:23: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:9:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:12:17: note: in expansion of macro 'm' #define S s, i, m ^ main.cpp:28:32: note: in expansion of macro 'S' if (A[s] >= p) return I(p, S); ^ main.cpp:9:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:13:14: note: in expansion of macro 'm' #define D d, m+1, j ^ main.cpp:29: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:9:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1) ~^~ main.cpp:12:17: note: in expansion of macro 'm' #define S s, i, m ^ main.cpp:35:18: note: in expansion of macro 'S' else X(p, v, S), X(p, v, D); ^ main.cpp:9:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] #define m (i+j>>1)
Test Timp executie Memorie folosita Mesaj Punctaj/test
129ms655kbOK10
237ms1179kbOK10
3522ms7229kbOK10
4711ms7733kbOK10
51315ms14741kbOK10
6996ms15425kbOK10
71719ms16355kbOK10
83328ms32067kbOK10
93502ms29229kbTime limit exceeded0
103500ms29360kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?