Pagini recente » Borderou de evaluare (job #616497) | Borderou de evaluare (job #451616) | Borderou de evaluare (job #2498423) | Borderou de evaluare (job #2754056) | Borderou de evaluare (job #2710316)
Borderou de evaluare (job #2710316)
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 | 1048kb | OK | 10 |
3 | 412ms | 6684kb | OK | 10 |
4 | 555ms | 6684kb | OK | 10 |
5 | 1051ms | 13312kb | OK | 10 |
6 | 786ms | 13631kb | OK | 10 |
7 | 1523ms | 14274kb | OK | 10 |
8 | 2558ms | 28254kb | OK | 10 |
9 | 3310ms | 28127kb | OK | 10 |
10 | 3431ms | 28385kb | OK | 10 |
Punctaj total | 100 |