diff --git a/judgels-backends/judgels-grader-engines/src/main/java/judgels/gabriel/compilers/SingleSourceFileCompiler.java b/judgels-backends/judgels-grader-engines/src/main/java/judgels/gabriel/compilers/SingleSourceFileCompiler.java index 66569cce6..4f626654c 100644 --- a/judgels-backends/judgels-grader-engines/src/main/java/judgels/gabriel/compilers/SingleSourceFileCompiler.java +++ b/judgels-backends/judgels-grader-engines/src/main/java/judgels/gabriel/compilers/SingleSourceFileCompiler.java @@ -48,13 +48,11 @@ public CompilationResult compile(Map sourceFiles) throws Compilati if (result.getStatus() == SandboxExecutionStatus.ZERO_EXIT_CODE) { File outputFile = sandbox.getFile(COMPILATION_OUTPUT_FILENAME); try { - String compilationOutput = FileUtils.readFileToString(outputFile, StandardCharsets.UTF_8); FileUtils.forceDelete(outputFile); FileUtils.copyFileToDirectory(sandbox.getFile(executableFilename), compilationDir); return new CompilationResult.Builder() .isSuccessful(true) - .putOutputs(sourceKey, compilationOutput) .build(); } catch (IOException e) { throw new CompilationException(e);