Created
January 11, 2016 11:41
-
-
Save MitI-7/8e07de712283b7f77f18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greed { | |
codeRoot = "../topcoder" | |
logging { | |
logLevel = OFF | |
logToStderr = true | |
logFolder = Logs | |
} | |
backup { | |
fileCountLimit = 5 | |
fileName = "${GeneratedFileName}.bak.${BackupNumber}" | |
} | |
shared { | |
templateDef { | |
include "template-defs" | |
source.outputFileName = "main" | |
testcase.outputFile = "${Contest.Name}_DIV${Contest.Div}_${Problem.Score}.sample" | |
problem-desc.outputFile = "${Contest.Name}_DIV${Contest.Div}_${Problem.Score}.html" | |
problem-desc.options.showDefinition = cpp | |
} | |
defaultLanguage { | |
templates = [ source, filetest, problem-desc, script ] | |
submitTemplate = source | |
} | |
cstyleLanguage = ${greed.shared.defaultLanguage} { | |
cutBegin = "// CUT begin" | |
cutEnd = "// CUT end" | |
} | |
} | |
language { | |
cpp { | |
longIntTypeName = long long | |
templateDef { | |
filetest.templateFile = builtin(filetest/cpp.tmpl) | |
test { | |
templateFile = builtin(test/cpp.tmpl) | |
options { | |
cpp11 = false | |
runMultipleProcesses = false | |
} | |
} | |
script{ | |
overwrite = skip | |
outputFile = "${Contest.Name}_DIV${Contest.Div}_${Problem.Score}.script" | |
templateFile = template.cpp | |
afterFileGen { | |
execute = py | |
arguments = ["-3", "../plugin/generateHtml.py", "../topcoder/${Contest.Name}_DIV${Contest.Div}_${Problem.Score}.html", "../topcoder/${Contest.Name}_${Contest.Div}_${Problem.Score}_JP.html"] | |
} | |
} | |
dualcolor-test.templateFile = builtin(dualcolor/main.cpp.tmpl) | |
dualcolor-tester.templateFile = builtin(dualcolor/tester.cpp.tmpl) | |
dualcolor-tester.outputFileExtension = cpp | |
source.templateFile = template.cpp | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment