Pagini recente » Borderou de evaluare (job #1208048) | Borderou de evaluare (job #1777621) | Borderou de evaluare (job #730022) | Borderou de evaluare (job #3241008) | Borderou de evaluare (job #1332568)
Borderou de evaluare (job #1332568)
Raport evaluator
Compilare:
user.cpp: In function ‘int suma(int)’:
user.cpp:6:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define p2mare(x) ((x ^ (x - 1) & x))
^
user.cpp:44:29: note: in expansion of macro ‘p2mare’
for (aux=p; aux>0; aux-=p2mare(aux))
^
user.cpp: In function ‘void update(int, int)’:
user.cpp:6:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define p2mare(x) ((x ^ (x - 1) & x))
^
user.cpp:52:30: note: in expansion of macro ‘p2mare’
for (aux=p; aux<=n; aux+=p2mare(aux))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 4ms | 452kb | OK | 10 |
4 | 28ms | 600kb | OK | 10 |
5 | 68ms | 684kb | OK | 10 |
6 | 104ms | 916kb | OK | 10 |
7 | 20ms | Depăşit | Memory limit exceeded. | 0 |
8 | 20ms | Depăşit | Memory limit exceeded. | 0 |
9 | 20ms | Depăşit | Memory limit exceeded. | 0 |
10 | 20ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |