有没有可能是因为洛谷的测试数据的换行符是"\r\n"。 by xiaoyuhao0503 @ 2024-02-02 17:16:19
建议使用 string。 by xiaoyuhao0503 @ 2024-02-02 17:17:00