Borderou de evaluare (job #2710303)

Utilizator KPP17Popescu Paul KPP17 Data 22 februarie 2021 12:39:36
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
119ms655kbOK10
233ms1179kbOK10
3398ms7208kbOK10
4559ms7733kbOK10
5955ms14680kbOK10
6704ms15380kbOK10
71289ms16236kbOK10
82463ms32075kbOK10
93131ms32022kbOK10
103264ms32395kbOK10
Punctaj total100

Ceva nu functioneaza?