You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
手元では D 言語でのみ現象を確認していますが、おそらく別の言語でも発生します。 while (true); 等のコードで再現可能です。
例えば in_3.txt が TLE になる場合、次のような出力とともにクラッシュします。 --force オプションを付けて submit することもできないので少し不便です。
# in_1.txt ... PASSED 1 ms
# in_2.txt ... PASSED 1 ms
Traceback (most recent call last):
File "/home/penpenpng/.local/bin/atcoder-tools", line 8, in <module>
sys.exit(main())
File "/home/penpenpng/.local/lib/python3.8/site-packages/atcodertools/atcoder_tools.py", line 61, in main
exit_program(submit_main(prog, args))
File "/home/penpenpng/.local/lib/python3.8/site-packages/atcodertools/tools/submit.py", line 102, in main
if args.force or tester.main("", tester_args):
File "/home/penpenpng/.local/lib/python3.8/site-packages/atcodertools/tools/tester.py", line 334, in main
return run_all_tests(exec_file, in_sample_file_list, out_sample_file_list, args.timeout, args.knock_out,
File "/home/penpenpng/.local/lib/python3.8/site-packages/atcodertools/tools/tester.py", line 202, in run_all_tests
test_summary = run_for_samples(
File "/home/penpenpng/.local/lib/python3.8/site-packages/atcodertools/tools/tester.py", line 118, in run_for_samples
has_error_output = has_error_output or exec_res.has_stderr()
File "/home/penpenpng/.local/lib/python3.8/site-packages/atcodertools/executils/run_program.py", line 30, in has_stderr
return len(self.stderr) > 0
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
手元では D 言語でのみ現象を確認していますが、おそらく別の言語でも発生します。
while (true);
等のコードで再現可能です。例えば in_3.txt が TLE になる場合、次のような出力とともにクラッシュします。
--force
オプションを付けて submit することもできないので少し不便です。The text was updated successfully, but these errors were encountered: