cp-lib

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

View the Project on GitHub Dusker233/cp-lib

:heavy_check_mark: io/Scanner_local.hpp

Verified with

Code

#pragma once

struct Scanner
{
	template<typename T>
	void scan(T &x)
	{
		std::cin >> x;
	}

	template<typename... T>
	void scan(T& ...x)
	{
		((std::cin >> x), ...);
	}
};
#line 2 "io/Scanner_local.hpp"

struct Scanner
{
	template<typename T>
	void scan(T &x)
	{
		std::cin >> x;
	}

	template<typename... T>
	void scan(T& ...x)
	{
		((std::cin >> x), ...);
	}
};
Back to top page