快读模板

inline int read()
{
	int x = 0, flag = 1;
	char c = getchar();
	while(c < '0' && c > '9') {if(c == '-') flag = -1, c = getchar();}
	while(c >= '0' && c <= '9') {x = x * 10 + c - '0', c = getchar();}
	return x * flag;
}
posted @ 2019-07-14 21:57  Mystery_Sky  阅读(349)  评论(0编辑  收藏  举报