Borderou de evaluare (job #2708378)

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

Raport evaluator

Compilare: main.cpp: In function 'void C(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
139ms524kbOK10
238ms1048kbOK10
3506ms5242kbOK10
4851ms6553kbOK10
51225ms11272kbOK10
61036ms12701kbOK10
71590ms14024kbOK10
83489ms27525kbIncorect0
93500ms24379kbTime limit exceeded0
103500ms24772kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?