File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,15 +172,15 @@ QJsonObject ExportUtil::buildExportJson(Contest *contest) {
172172 info = tr (" Cannot find valid source file" );
173173 break ;
174174 case CompileTimeLimitExceeded:
175- info = tr (" Source file: " ) + contestant->getSourceFile (j) +
176- QString ( " , " ) + tr (" Compile time limit exceeded" );
175+ info = tr (" Source file: " ) + contestant->getSourceFile (j) + QString ( " , " ) +
176+ tr (" Compile time limit exceeded" );
177177 break ;
178178 case InvalidCompiler:
179179 info = tr (" Cannot run given compiler" );
180180 break ;
181181 case CompileError:
182- info = tr (" Source file: " ) + contestant->getSourceFile (j) +
183- QString ( " , " ) + tr (" Compile error" );
182+ info = tr (" Source file: " ) + contestant->getSourceFile (j) + QString ( " , " ) +
183+ tr (" Compile error" );
184184 break ;
185185 default :
186186 break ;
@@ -191,8 +191,7 @@ QJsonObject ExportUtil::buildExportJson(Contest *contest) {
191191 tObj[" info" ] = info;
192192 }
193193
194- if (contestant->getCheckJudged (j) &&
195- contestant->getCompileState (j) == CompileError &&
194+ if (contestant->getCheckJudged (j) && contestant->getCompileState (j) == CompileError &&
196195 ! contestant->getCompileMessage (j).isEmpty ()) {
197196 tObj[" compile_message" ] = contestant->getCompileMessage (j);
198197 }
You can’t perform that action at this time.
0 commit comments