Beispiel #1
0
        private static async Task RunSumbissionAsync(string submissionId, int problemId)
        {
            var repository = new ProblemRepository();

            var workspace = @"E:\ojworkspace\";

            var submissionFolder = Path.Combine(workspace, submissionId);

            var submissionRunner = new SubmissionRunner(repository);

            await submissionRunner.RunAsync(submissionId, problemId);
        }
Beispiel #2
0
 public SubmissionRunner(ProblemRepository repository)
 {
     this.repository = repository;
 }