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

output_gen是否不支持多笔输入的文件? #72

Open
Visors opened this issue Dec 10, 2019 · 0 comments
Open

output_gen是否不支持多笔输入的文件? #72

Visors opened this issue Dec 10, 2019 · 0 comments

Comments

@Visors
Copy link

Visors commented Dec 10, 2019

我通过
while (cin >> s)
输入一行空格分隔的不定长句子,使用output_gen获得输出时报错
Traceback (most recent call last): File "C:/Users/Visors/Desktop/Round#1/cyaron/source/A.py", line 19, in <module> data_file.output_gen(r"F:\ACMLAB\SCPC\SCPC_Round#1\A.exe") File "C:\Users\Visors\Anaconda3\lib\site-packages\cyaron\io.py", line 171, in output_gen subprocess.check_call(shell_cmd, shell=True, stdin=self.input_file, stdout=self.output_file, universal_newlines=True) File "C:\Users\Visors\Anaconda3\lib\subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'F:\ACMLAB\SCPC\SCPC_Round#1\A.exe' returned non-zero exit status 1.

@Visors Visors closed this as completed Dec 10, 2019
@Visors Visors reopened this Dec 10, 2019
@Visors Visors changed the title while(cin) output_gen是否不支持多笔输入的文件? Dec 10, 2019
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

No branches or pull requests

1 participant