Pagini recente » Borderou de evaluare (job #2861980) | Borderou de evaluare (job #2252071) | Borderou de evaluare (job #867270) | Borderou de evaluare (job #3174288) | Borderou de evaluare (job #2710319)
Borderou de evaluare (job #2710319)
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 |
1 | 22ms | 524kb | OK | 10 |
2 | 32ms | 1179kb | OK | 10 |
3 | 407ms | 6684kb | OK | 10 |
4 | 617ms | 6758kb | OK | 10 |
5 | 969ms | 13238kb | OK | 10 |
6 | 641ms | 13578kb | OK | 10 |
7 | 1494ms | 14262kb | OK | 10 |
8 | 2941ms | 28286kb | OK | 10 |
9 | 2928ms | 28180kb | OK | 10 |
10 | 3079ms | 28385kb | OK | 10 |
Punctaj total | 100 |