Pagini recente » Borderou de evaluare (job #173232) | Borderou de evaluare (job #1823986) | Borderou de evaluare (job #1593614) | Borderou de evaluare (job #566372) | Borderou de evaluare (job #1332562)
Borderou de evaluare (job #1332562)
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:45: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:53: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 | 396kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 4ms | 444kb | OK | 10 |
4 | 28ms | 600kb | OK | 10 |
5 | 68ms | 688kb | 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 |