Borderou de evaluare (job #1018252)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(int)’:
user.cpp:27:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
pos+=(pos^(pos-1)&pos);
^
user.cpp: In function ‘int calc(int)’:
user.cpp:36:26: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
pos-=(pos^(pos-1)&pos);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 436kb | OK | 10 |
2 | 8ms | 528kb | OK | 10 |
3 | 16ms | 704kb | OK | 10 |
4 | 28ms | 880kb | OK | 10 |
5 | 44ms | 1108kb | OK | 10 |
6 | 56ms | 1232kb | OK | 10 |
7 | 60ms | 1348kb | OK | 10 |
8 | 72ms | 1460kb | OK | 10 |
9 | 80ms | 1580kb | Incorect | 0 |
10 | 0ms | 408kb | OK | 10 |
Punctaj total | 90 |