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 ed9f9cf commit 93af8d8Copy full SHA for 93af8d8
webapp/src/Service/DOMJudgeService.php
@@ -881,7 +881,10 @@ public function getSamplesZipForContest(Contest $contest): StreamedResponse
881
882
/** @var ContestProblem $problem */
883
foreach ($contest->getProblems() as $problem) {
884
- $this->addSamplesToZip($zip, $problem, $problem->getShortname());
+ // We don't include the samples for interactive problems.
885
+ if (!$problem->getProblem()->getCombinedRunCompare()) {
886
+ $this->addSamplesToZip($zip, $problem, $problem->getShortname());
887
+ }
888
889
if ($problem->getProblem()->getProblemstatementType()) {
890
$filename = sprintf('%s/statement.%s', $problem->getShortname(), $problem->getProblem()->getProblemstatementType());
0 commit comments