This documentation is automatically generated by online-judge-tools/verification-helper
#include "src/utility/sparseTable/bitwiseAndStructure.hpp"Sparse Tableで区間bitwise andクエリを処理したい時に、zawa::sparseTable<structure>のstructureに入れる構造体です。
zawa::bitwiseAndStructure<T>
T
intやlong longなど、operator &が定義されているもの#pragma once
namespace zawa {
template <class T>
struct bitwiseAndStructure {
using valueType = T;
static valueType operation(const valueType& a, const valueType& b) {
return (a & b);
}
};
} // namespace zawa#line 2 "src/utility/sparseTable/bitwiseAndStructure.hpp"
namespace zawa {
template <class T>
struct bitwiseAndStructure {
using valueType = T;
static valueType operation(const valueType& a, const valueType& b) {
return (a & b);
}
};
} // namespace zawa