把read函数改成getchar函数,再把数组开大些就AC了
AC code: https://www.luogu.com.cn/record/110461418
original topic??https://www.luogu.com.cn/discuss/607401