Skip to content

Example config file

Huang Po-Hsuan edited this page Sep 20, 2021 · 1 revision
  • judge.conf:

    [Config]
    BuildCommand = make clean && make
    Executable = scanner
    RunCommand = ./scanner < {input} > {output}
    Inputs = input/*.txt
    TempOutputDir = /tmp/output
    DiffCommand = git diff --no-index --color-words {answer} {output}
    DeleteTempOutput = true
    AnswerDir = answer
    AnswerExtension = .out
    ExitOrLog = exit
    ScoreDict = {"0":"0","1":"30","2":"60","3":"90","4":"100"}
    TotalScore = 100
    Timeout = 5
    
Clone this wiki locally