Skip to content

Commit 9ab33d3

Browse files
committed
Use CPP Judge for C lang
1 parent 6391ec8 commit 9ab33d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commands/run.go

+1
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ func NewJudgeFor(meta config.EgorMeta, configuration *config.Config) (Judge, err
478478
case "java":
479479
return &JavaJudge{Meta: meta, checker: &DiffChecker{}}, nil
480480
case "cpp":
481+
return &CppJudge{Meta: meta, checker: &DiffChecker{}, hasLibrary: configuration.HasCppLibrary(), LibraryLocation: configuration.CppLibraryLocation}, nil
481482
case "c":
482483
return &CppJudge{Meta: meta, checker: &DiffChecker{}, hasLibrary: configuration.HasCppLibrary(), LibraryLocation: configuration.CppLibraryLocation}, nil
483484
case "python":

0 commit comments

Comments
 (0)