Borderou de evaluare (job #2708251)

Utilizator KPP17Popescu Paul KPP17 Data 18 februarie 2021 14:43:22
Problema Eliminare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void U(int)': main.cpp:8:15: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k + 1 << 1) - 1) ~~^~~ main.cpp:15:11: note: in expansion of macro 's' if (A[s] and A[d]) V[k] = std::max(V[s], V[d]); ^ main.cpp:9:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k + 1 << 1) ~~^~~ main.cpp:15:20: note: in expansion of macro 'd' if (A[s] and A[d]) V[k] = std::max(V[s], V[d]); ^ main.cpp:8:15: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k + 1 << 1) - 1) ~~^~~ main.cpp:15:42: note: in expansion of macro 's' if (A[s] and A[d]) V[k] = std::max(V[s], V[d]); ^ main.cpp:9:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k + 1 << 1) ~~^~~ main.cpp:15:48: note: in expansion of macro 'd' if (A[s] and A[d]) V[k] = std::max(V[s], V[d]); ^ main.cpp:8:15: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k + 1 << 1) - 1) ~~^~~ main.cpp:16:19: note: in expansion of macro 's' else V[k] = A[s]? V[s]: V[d]; ^ main.cpp:8:15: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k + 1 << 1) - 1) ~~^~~ main.cpp:16:25: note: in expansion of macro 's' else V[k] = A[s]? V[s]: V[d]; ^ main.cpp:9:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k + 1 << 1) ~~^~~ main.cpp:16:31: note: in expansion of macro 'd' else V[k] = A[s]? V[s]: V[d]; ^ main.cpp:8:15: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k + 1 << 1) - 1) ~~^~~ main.cpp:17:14: note: in expansion of macro 's' A[k] = A[s] + A[d]; ^ main.cpp:9:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
Test Timp executie Memorie folosita Mesaj Punctaj/test
129ms393kbOK10
248ms1048kbOK10
3530ms4063kbOK10
4922ms6422kbOK10
51303ms9306kbOK10
61145ms11898kbOK10
71848ms13729kbOK10
83500ms23068kbTime limit exceeded0
93503ms23592kbTime limit exceeded0
103501ms24248kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?