#define gc getchar
template<class I>
inline void read(I &x) {
x = 0; I f = 1; char c = gc();
while(c < '0' || c > '9') {if(c == '-') f = -1; c = gc(); }
while(c >= '0' && c <= '9') {x = x * 10 + c - '0'; c = gc(); }
x *= f;
}
rt,早上学快读的时候发现了这个template,不是很清楚这个该怎么用......上百度搜索没搞明白,现在这段快读中的template我已经知道为什么这样用了,可是好像template还有许多其他的用法?求大佬们写过的适合我这种蒟蒻看的相关的博客/kel