Pagini recente » Borderou de evaluare (job #881649) | Borderou de evaluare (job #1635402) | Borderou de evaluare (job #881630) | Borderou de evaluare (job #2376219) | Borderou de evaluare (job #1332569)
Borderou de evaluare (job #1332569)
Raport evaluator
Compilare:
user.cpp: In function ‘int suma(int)’:
user.cpp:5:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define p2mare(x) ((x ^ (x - 1) & x))
^
user.cpp:42: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:5:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define p2mare(x) ((x ^ (x - 1) & x))
^
user.cpp:50: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 | 392kb | OK | 10 |
| 2 | 0ms | 408kb | OK | 10 |
| 3 | 4ms | 420kb | OK | 10 |
| 4 | 28ms | 508kb | OK | 10 |
| 5 | 68ms | 548kb | OK | 10 |
| 6 | 104ms | 656kb | OK | 10 |
| 7 | 112ms | 732kb | OK | 10 |
| 8 | 164ms | 788kb | OK | 10 |
| 9 | 160ms | 792kb | OK | 10 |
| 10 | 164ms | 792kb | OK | 10 |
| Punctaj total | 100 |