library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub gyouzasushi/library

:heavy_check_mark: Monoid: XOR
(algebra/monoid_xor.hpp)

Required by

Verified with

Code

#pragma once
template <class T>
struct monoid_xor {
    using S = T;
    static S op(S a, S b) {
        return a ^ b;
    }
    static S e() {
        return T(0);
    }
};
#line 2 "algebra/monoid_xor.hpp"
template <class T>
struct monoid_xor {
    using S = T;
    static S op(S a, S b) {
        return a ^ b;
    }
    static S e() {
        return T(0);
    }
};
Back to top page