SM Training Camp Notes (2024.11.15 ~ 2024.11.29)
DAY0 (2024.11.15)
Finally arriving at the camp.
T2 GYM104787M
First, we define a replica connected component as a connected component formed by traversing only nodes with index greater than n. It's not hard to observe that a replica connected component (green nodes) connects to several leaves with index less than n, and together with the origin ...
Posted on Fri, 10 Jul 2026 17:44:56 +0000 by raffael3d
XOR Linear Basis
Core ConceptsBefore defining a linear basis, it is essential to understand the following terms regarding bitwise XOR operations on integer sets:XOR SumFor a given set of unsigned integers Z, the XOR sum is the cumulative XOR of all its elements: Z1 ⊕ Z2 ⊕ ... ⊕ Zn.SpanThe span of a set Z, denoted as span(Z), represents the set ...
Posted on Sat, 30 May 2026 00:04:52 +0000 by NeoPuma
Linear Basis Implementation for XOR Operations
Construction AlgorithmThe Linear Basis structure maintains a set of linearly independent vectors to solve problems involving the XOR operation. To insert a value into the basis, we process the bits from the most significant bit (MSB) to the least significant bit (LSB).Let basis[] be the array storing the basis elements, initialized to 0. For an ...
Posted on Thu, 07 May 2026 07:02:32 +0000 by afrancis