Pagini recente » Borderou de evaluare (job #454811) | Borderou de evaluare (job #2433681) | Borderou de evaluare (job #974732) | Borderou de evaluare (job #3168369) | Borderou de evaluare (job #1970066)
Borderou de evaluare (job #1970066)
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 | 384kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 4ms | 416kb | OK | 10 |
4 | 28ms | 492kb | OK | 10 |
5 | 68ms | 532kb | OK | 10 |
6 | 100ms | 648kb | OK | 10 |
7 | 108ms | 728kb | OK | 10 |
8 | 156ms | 784kb | OK | 10 |
9 | 156ms | 780kb | OK | 10 |
10 | 152ms | 788kb | OK | 10 |
Punctaj total | 100 |