This documentation is automatically generated by online-judge-tools/verification-helper
#include "algorithm/Utils/table.hpp"std::vector による多次元配列を再帰的に生成する.
#ifndef ALGORITHM_TABLE_HPP
#define ALGORITHM_TABLE_HPP 1
#include <vector>
namespace algorithm {
template <typename Type>
std::vector<Type> table(std::size_t n, const Type &val) { return std::vector<Type>(n, val); }
template <typename... Args>
auto table(std::size_t n, const Args &...args) { return std::vector(n, table(args...)); }
} // namespace algorithm
#endif#line 1 "algorithm/Utils/table.hpp"
#include <vector>
namespace algorithm {
template <typename Type>
std::vector<Type> table(std::size_t n, const Type &val) { return std::vector<Type>(n, val); }
template <typename... Args>
auto table(std::size_t n, const Args &...args) { return std::vector(n, table(args...)); }
} // namespace algorithm