preliminary updates
This commit is contained in:
parent
1b0d5e4d77
commit
cea90dbda5
2 changed files with 17 additions and 0 deletions
|
|
@ -231,14 +231,22 @@ class CodeChefScraper(BaseScraper):
|
|||
memory_mb = 256.0
|
||||
interactive = False
|
||||
|
||||
combined_input = "\n".join(t.input for t in tests)
|
||||
combined_expected = "\n".join(t.expected for t in tests)
|
||||
|
||||
return {
|
||||
"problem_id": problem_code,
|
||||
"combined": {
|
||||
"input": combined_input,
|
||||
"expected": combined_expected,
|
||||
},
|
||||
"tests": [
|
||||
{"input": t.input, "expected": t.expected} for t in tests
|
||||
],
|
||||
"timeout_ms": timeout_ms,
|
||||
"memory_mb": memory_mb,
|
||||
"interactive": interactive,
|
||||
"multi_test": False,
|
||||
}
|
||||
|
||||
tasks = [run_one(problem_code) for problem_code in problems.keys()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue