fix(scraper): comments
This commit is contained in:
parent
a8984d013a
commit
9deedec15a
3 changed files with 2 additions and 4 deletions
|
|
@ -80,6 +80,8 @@ local function setup_problem(contest_id, problem_id, language)
|
|||
end
|
||||
end
|
||||
|
||||
-- NOTE: CSES uses different cache key structure: (platform, category, problem_id)
|
||||
-- vs other platforms: (platform, contest_id, problem_letter)
|
||||
local cache_contest_id = state.platform == 'cses' and state.contest_id or contest_id
|
||||
local cache_problem_id = state.platform == 'cses' and contest_id or problem_id
|
||||
local cached_test_cases = cache.get_test_cases(state.platform, cache_contest_id, cache_problem_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue