我们洛谷真是太厉害了.jpg
而且freopen的是第二个点,对的却是第一个点
record
//... int main(void) { freopen("P2805_2.in", "r", stdin); std::cin >> n >> m; //...