Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1580650) | Borderou de evaluare (job #2259381) | Borderou de evaluare (job #1090026) | 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 |