Borderou de evaluare (job #2710305)

Utilizator KPP17Popescu Paul KPP17 Data 22 februarie 2021 12:42:00
Problema Eliminare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void C(int)': main.cpp:9:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k+1<<1)-1) ~^~ main.cpp:15:11: note: in expansion of macro 's' if (V[s] < V[d]) V[k] = V[d], M[k] = M[d]; ^ main.cpp:10:13: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k+1<<1) ~^~ main.cpp:15:18: note: in expansion of macro 'd' if (V[s] < V[d]) V[k] = V[d], M[k] = M[d]; ^ main.cpp:10:13: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k+1<<1) ~^~ main.cpp:15:31: note: in expansion of macro 'd' if (V[s] < V[d]) V[k] = V[d], M[k] = M[d]; ^ main.cpp:10:13: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k+1<<1) ~^~ main.cpp:15:44: note: in expansion of macro 'd' if (V[s] < V[d]) V[k] = V[d], M[k] = M[d]; ^ main.cpp:9:14: 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] = V[s], M[k] = M[s]; ^ main.cpp:9:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define s ((k+1<<1)-1) ~^~ main.cpp:16:32: note: in expansion of macro 's' else V[k] = V[s], M[k] = M[s]; ^ main.cpp:9:14: 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:10:13: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define d (k+1<<1) ~^~ main.cpp:17:21: note: in expansion of macro 'd' A[k] = A[s] + A[d]; ^ main.cpp: In function 'void B(int, int, int)':
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms655kbOK10
233ms1179kbOK10
3451ms7208kbOK10
4587ms7761kbOK10
51099ms14811kbOK10
6805ms15388kbOK10
71279ms16297kbOK10
82805ms32063kbOK10
93237ms32014kbOK10
103200ms32505kbOK10
Punctaj total100

Ceva nu functioneaza?