Borderou de evaluare (job #2708370)

Utilizator KPP17Popescu Paul KPP17 Data 18 februarie 2021 17:09:16
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
126ms524kbOK10
248ms1048kbOK10
3542ms4063kbOK10
4796ms6553kbOK10
51314ms9306kbOK10
61057ms11927kbOK10
71790ms13762kbOK10
83501ms23068kbTime limit exceeded0
93506ms23724kbTime limit exceeded0
103500ms24248kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?