似乎把ios::sync\_with\_stdio(0);注释掉就可以了,以前在洛谷上遇到过相似的问题,比如:
RE的记录: https://www.luogu.org/record/show?rid=2016875
AC的记录: https://www.luogu.org/record/show?rid=2016881
附上这个问题的记录:
RE的记录: https://www.luogu.org/record/show?rid=2425250
AC的记录: https://www.luogu.org/record/show?rid=2425928
某一次问过lin\_toto,但他表示“是你自己写错了”,虽然不明白为什么,但我没有继续深究。
by NyanNyan @ 2017-06-29 22:11:05