前个人签名:为了让学生注意自己的形象,将打嗝列为南开禁术 || 总策划辅助线六号院六号线六妓院交作业没有钱老脸一红外星人网页版缺心眼平均线没结婚我对象储物箱老字号领盒饭痴汉笑 || FO来一打 || 继 int mian 之后,又出现了void long long
Steam管家年度总结 || 太好用哩 && 友链 && 喵喵咕咕嘎嘎 && 大事祭 || 补题计划
FAST IO
目前支持功能:整数,字符,string(被我删了)
namespace emo
{
#ifdef ONLINE_JUDGE
const int BUFSIZE = 100005;
char InBuf[BUFSIZE], OutBuf[BUFSIZE], *P1 = InBuf, *P2 = InBuf, *P3 = OutBuf;
inline char getchar() {return (P1 == P2 && (P2 = (P1 = InBuf) + fread(InBuf, 1, BUFSIZE, stdin), P1 == P2) ? EOF : *P1 ++ );}
inline void flush() {fwrite(OutBuf, 1, P3 - OutBuf, stdout);}
inline void putchar(const char &c) {P3 == OutBuf + BUFSIZE && (flush(), P3 = OutBuf), *P3 ++ = c;}
class Flush {public: ~Flush() {flush();}} _;
#endif
template<typename Type>
inline void read(Type &x)
{
static char c = getchar();
static bool t; x = t = 0;
while (!isdigit(c)) t ^= (c == '-'), c = getchar();
while (isdigit(c)) x = (x << 1) + (x << 3) + (c ^ 48), c = getchar();
x = t ? -x : x;
}
inline void read(char &c) {c = getchar();}
inline int read(char *x)
{
char *c = x;
while (!isspace(*c = getchar()) && *c != EOF) c ++ ;
*c = '\0';
return c - x;
}
template<typename Type>
inline void write(Type x)
{
static short s[35], top(0);
if (x < 0) x = -x, putchar('-');
do s[ ++ top] = x % 10, x /= 10; while (x);
while (top) putchar(s[top -- ] | 48);
}
inline void write(const char &x) {putchar(x);}
template<typename Type> inline void write(Type *x) {while (*x) putchar(*x ++ );}
template<typename Type> inline void write(const Type &x, char c) {write(x), putchar(c);}
template<typename Type, typename ...Args> inline void read(Type &x, Args &...y) {read(x), read(y...);}
template<typename Type, typename ...Args> inline void write(const Type &x, const Args &...y)
{write(x), putchar(' '), write(y...); if (sizeof...(y) == 1) putchar('\n');}
} using namespace emo;


