Code Library Of Others/sgtlaugh/Algorithm X + Dancing Links.cpp
inline void restore(int c){ /// hash = 804101
        for (int i = U[c]; i != c; i = U[i]){
            for (int j = L[i]; j != i; j = L[j]){
                column_count[col[j]]++;
                U[D[j]] = j, D[U[j]] = j;
            }
        }

        L[R[c]] = c, R[L[c]] = c;
    }
/// Restores the position of column c in the structure
Restores the position of column c in the structure
Restores the position of column c in the structure
inline void restore(int c){ 
        for (int i = U[c]; i != c; i = U[i]){
            for (int j = L[i]; j != i; j = L[j]){
                column_count[col[j]]++;
                U[D[j]] = j, D[U[j]] = j;
            }
        }
        L[R[c]] = c, R[L[c]] = c;
    }
inline void restore ( int c ) { for ( int i = U [ c ] ; i != c ; i = U [ i ] ) { for ( int j = L [ i ] ; j != i ; j = L [ j ] ) { column_count [ col [ j ] ] ++ ; U [ D [ j ] ] = j , D [ U [ j ] ] = j ; } } L [ R [ c ] ] = c , R [ L [ c ] ] = c ; }
Restores the position of column c in the structure
Restores the position of column c in the structure
/// hash = 804101