Open Visors opened 4 years ago
我通过 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.
while (cin >> s)
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.
我通过
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.