Borderou de evaluare (job #2707843)

Utilizator KPP17Popescu Paul KPP17 Data 17 februarie 2021 20:18:00
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
138ms393kbOK10
261ms1048kbOK10
3625ms4157kbOK10
4964ms6524kbOK10
51615ms9191kbOK10
61393ms11988kbOK10
71880ms13762kbOK10
83502ms26386kbTime limit exceeded0
93500ms23592kbTime limit exceeded0
103500ms24248kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?