Borderou de evaluare (job #2710302)

Utilizator KPP17Popescu Paul KPP17 Data 22 februarie 2021 12:37:42
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
3448ms7208kbOK10
4635ms7733kbOK10
51147ms14680kbOK10
6781ms15380kbOK10
71275ms16252kbOK10
82769ms32063kbOK10
93242ms32014kbOK10
103270ms32501kbOK10
Punctaj total100

Ceva nu functioneaza?