diff --git a/webapp/src/Service/DOMJudgeService.php b/webapp/src/Service/DOMJudgeService.php index 744bfe4201..27c596bfd2 100644 --- a/webapp/src/Service/DOMJudgeService.php +++ b/webapp/src/Service/DOMJudgeService.php @@ -881,7 +881,10 @@ public function getSamplesZipForContest(Contest $contest): StreamedResponse /** @var ContestProblem $problem */ foreach ($contest->getProblems() as $problem) { - $this->addSamplesToZip($zip, $problem, $problem->getShortname()); + // We don't include the samples for interactive problems. + if (!$problem->getProblem()->getCombinedRunCompare()) { + $this->addSamplesToZip($zip, $problem, $problem->getShortname()); + } if ($problem->getProblem()->getProblemstatementType()) { $filename = sprintf('%s/statement.%s', $problem->getShortname(), $problem->getProblem()->getProblemstatementType());