CP-Library

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

View the Project on GitHub joji0/CP-Library

:warning: monoid/XOR.hpp

Code

#pragma once
#include <cstdint>

template <typename T = int64_t>
struct XOR {
        using value_type = T;
        static value_type e() { return 0; }
        static value_type op(value_type a, value_type b) { return a ^ b; }
};
#line 2 "monoid/XOR.hpp"
#include <cstdint>

template <typename T = int64_t>
struct XOR {
        using value_type = T;
        static value_type e() { return 0; }
        static value_type op(value_type a, value_type b) { return a ^ b; }
};
Back to top page