#include "Util/IO/var-declaration-with-input.hpp"
#pragma once #include <iostream> /** * @brief 複数変数宣言をして同時に入力もするやつ */ template <class T> std::istream& operator,(std::istream& is, T& rhs) { return is >> rhs; } #define var(type, ...) \ type __VA_ARGS__; \ std::cin >> __VA_ARGS__
#line 2 "Util/IO/var-declaration-with-input.hpp" #include <iostream> /** * @brief 複数変数宣言をして同時に入力もするやつ */ template <class T> std::istream& operator,(std::istream& is, T& rhs) { return is >> rhs; } #define var(type, ...) \ type __VA_ARGS__; \ std::cin >> __VA_ARGS__