fix: enhance error handling
This commit is contained in:
parent
ff3be54b7f
commit
27bae07035
4 changed files with 123 additions and 45 deletions
|
|
@ -278,6 +278,8 @@ function M.scrape_problem(ctx)
|
|||
"\n"
|
||||
)
|
||||
|
||||
-- with atcoder, we combine together multiple test cases
|
||||
-- TODO: per-platform settings to do this (i.e. do we stitch?)
|
||||
if ctx.contest == "atcoder" then
|
||||
combined_input = tostring(#data.test_cases) .. "\n" .. combined_input
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue