void check_range(int min, int max, int value) {
if (value < min || value > max) throw std::out_of_range("〜");
}