Borderou de evaluare (job #2710319)

Utilizator KPP17Popescu Paul KPP17 Data 22 februarie 2021 13:14:51
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:16: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:16: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:16: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:16: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:17: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:17: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:18: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:18:21: note: in expansion of macro 'd' A[k] = A[s] + A[d]; ^ main.cpp: In function 'int X(int, int, int)':
Test Timp executie Memorie folosita Mesaj Punctaj/test
122ms524kbOK10
232ms1179kbOK10
3407ms6684kbOK10
4617ms6758kbOK10
5969ms13238kbOK10
6641ms13578kbOK10
71494ms14262kbOK10
82941ms28286kbOK10
92928ms28180kbOK10
103079ms28385kbOK10
Punctaj total100

Ceva nu functioneaza?