是不是freopen不能与ios::sync_with_stdio(0),cin.tie(0);连用,我在做一道题时将ios::sync_with_stdio(0),cin.tie(0);删去后就AC了