【競技プログラミング】Codeforces Round

  Рет қаралды 203

こたつがめ

こたつがめ

Күн бұрын

Пікірлер: 4
@ashishchokhani9084
@ashishchokhani9084 15 күн бұрын
The distributive property of AND over XOR doesn't hold in general. However, since we are using 2^i here(in F), thats why we are able to perform XORs of all y's followed by multiplying with 2^i. If this is correct, can you help me to prove it or please correct me if I am wrong.
@kotatsugame
@kotatsugame 15 күн бұрын
Where does the AND operation appear? I wasn't sure where you were referring to specifically. Are you sure you want to show XOR_y(y*2^i+k)=XOR_y(y)*2^i+XOR_y(k) in problem F?
@ashishchokhani9084
@ashishchokhani9084 15 күн бұрын
@@kotatsugame Sorry, Nvm. I was thinking * as AND operation. However, now it makes sense why the distribution holds because k
@kotatsugame
@kotatsugame 15 күн бұрын
@@ashishchokhani9084 Yes, that's correct. Now multiplying by 2^i is the left shift operation, and adding k is the OR operation.
【競技プログラミング】ABC380【実況】
1:16:49
こたつがめ
Рет қаралды 574
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 15 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 104 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,9 МЛН
跟我一起学 Solidity 编程 | 第8课: Visibility
21:26
程序员Nshen
Рет қаралды 21
The Strange Physics Principle That Shapes Reality
32:44
Veritasium
Рет қаралды 6 МЛН
Let's build a CRYPTO Price Tracker with React Native (p.2)🔴
3:54:43
notJust․dev
Рет қаралды 148 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 15 МЛН