template<class T,class... Args>
inline void read(T& t,Args&... args) {
read(t);
read(args...);
}
我在代码里加了这个快读方式,然后编译器警告:
[Warning] variadic templates only available with -std=c++11 or -std=gnu++11
但仍然通过了编译。
所以比赛时如果没开c++11,用这个会CE吗?
(洛谷IDE选C++任何版本都没问题)
orz