We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19209ba commit b23f3bbCopy full SHA for b23f3bb
bin/problem.py
@@ -787,6 +787,12 @@ def testcases(
787
if not t.out_path.is_file():
788
p._warn_once(t.name, f"Found input file {f} without a .out file. Skipping.")
789
continue
790
+ if mode == validate.Mode.VALID_OUTPUT:
791
+ if t.out_path is None:
792
+ continue
793
+ if not t.out_path.is_file():
794
+ warn(f"Found input file {f} without a .out file. Skipping.")
795
796
testcases.append(t)
797
testcases.sort(key=lambda t: t.name)
798
0 commit comments