public string ToString(CcDataCaseResult result) { return ($"{Id}/{Action}/{ResultDirname,-10} {CourseName}/{CourseYear}/{Problem}/{result.Case} [{result?.Duration:0.000} sec] {ProcessStatus.Get(result?.Status ?? -1).Name}"); }
public string ToString(string caseId) { return ($"{Id}/{Action}/{ResultDirname,-10} {CourseName}/{CourseYear}/{Problem}/{caseId} [{Result?.Duration:0.000} sec] {ProcessStatus.Get(Result?.Status ?? -1).Name}"); }
public string ResultDir(string courseDir) => Path.Combine( courseDir, CourseYear, "results", ResultDirname, Problem, $"{Attempt:D2}-{ProcessStatus.Get(Result.Status).Letter}-{ProcessStatus.Get(Result.Status).Name}" );