Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve end-of-line sequence issues #155

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

weilycoder
Copy link
Contributor

解决通过 output_gen 生成输出文件时换行符的相关问题:#152

@weilycoder
Copy link
Contributor Author

基本原理就是先将输出重定向到临时文件,再读取临时文件内容并写入答案文件,后者保证写入答案文件时调用的 API 足够高级,使得设置的 newline 参数能够生效。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant