Last active
August 29, 2015 14:08
-
-
Save MiSawa/1b46c57f411d3c71e213 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> inline void read(T &x){assert(false);} | |
template<> inline void read<int>(int &x){scanf("%d ",&x);} | |
template<> inline void read<ll>(ll &x){scanf("%lld ",&x);} | |
// template<> inline void read<ll>(ll &x){scanf("%I64d ",&x);} | |
template<typename Arg, typename Arg2, typename ...Args> | |
inline void read(Arg &x, Arg2 &y, Args& ...z){ | |
read<Arg>(x); read<Arg2, Args...>(y, z...); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment