Pagini recente » Borderou de evaluare (job #1467365) | Borderou de evaluare (job #2360629) | Borderou de evaluare (job #1187902) | Borderou de evaluare (job #1386191) | Borderou de evaluare (job #1970061)
Borderou de evaluare (job #1970061)
Raport evaluator
Compilare:
user.cpp: In function ‘void ad(int)’:
user.cpp:7:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zero(x) (x^(x-1)&x)
^
user.cpp:11:18: note: in expansion of macro ‘zero’
for(;i<=n;i+=zero(i))
^
user.cpp: In function ‘int val(int)’:
user.cpp:7:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zero(x) (x^(x-1)&x)
^
user.cpp:17:15: note: in expansion of macro ‘zero’
for(;i;i-=zero(i))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 388kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 4ms | 412kb | OK | 10 |
4 | 28ms | 492kb | OK | 10 |
5 | 68ms | 536kb | OK | 10 |
6 | 100ms | 652kb | Incorect | 0 |
7 | 112ms | 728kb | Incorect | 0 |
8 | 156ms | 784kb | Incorect | 0 |
9 | 156ms | 784kb | Incorect | 0 |
10 | 152ms | 784kb | Incorect | 0 |
Punctaj total | 50 |