fix: enhance error handling

This commit is contained in:
Barrett Ruth 2025-09-17 23:09:56 -04:00
parent ff3be54b7f
commit 27bae07035
4 changed files with 123 additions and 45 deletions

View file

@ -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