https://www.codechef.com/problems/CHN16H
My observations:
f(2s, 2x) = f(s, x) if
f(2s, 2x) = 3f(s - 1, x) if
f(2s + 1, 2x + 1) = 3f(s, x) if
f(2s + 1, 2x + 1) = f(s - 1, x) if
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3845 |
2 | jiangly | 3707 |
3 | Benq | 3630 |
4 | orzdevinwang | 3573 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | jqdai0815 | 3532 |
8 | ecnerwala | 3501 |
9 | gyh20 | 3447 |
10 | Rebelz | 3409 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | maomao90 | 171 |
2 | adamant | 163 |
2 | awoo | 163 |
4 | TheScrasse | 154 |
5 | nor | 153 |
6 | maroonrk | 152 |
6 | -is-this-fft- | 152 |
8 | Petr | 145 |
9 | pajenegod | 144 |
9 | orz | 144 |
Need help solving "Sum and Xor" problem from ICPC Chennai 2016 regionals
https://www.codechef.com/problems/CHN16H
My observations:
f(2s, 2x) = f(s, x) if
f(2s, 2x) = 3f(s - 1, x) if
f(2s + 1, 2x + 1) = 3f(s, x) if
f(2s + 1, 2x + 1) = f(s - 1, x) if
Название |
---|