fix: remove comments
This commit is contained in:
parent
f9cf5b1614
commit
8a9bc7434f
2 changed files with 4 additions and 5 deletions
|
|
@ -40,9 +40,9 @@ local cache_data = {}
|
|||
local loaded = false
|
||||
|
||||
local CONTEST_LIST_TTL = {
|
||||
cses = 7 * 24 * 60 * 60, -- 1 week
|
||||
codeforces = 24 * 60 * 60, -- 1 day
|
||||
atcoder = 24 * 60 * 60, -- 1 day
|
||||
cses = 7 * 24 * 60 * 60,
|
||||
codeforces = 24 * 60 * 60,
|
||||
atcoder = 24 * 60 * 60,
|
||||
}
|
||||
|
||||
---@param contest_data ContestData
|
||||
|
|
@ -316,7 +316,7 @@ function M.set_contest_list(platform, contests)
|
|||
cache_data.contest_lists = {}
|
||||
end
|
||||
|
||||
local ttl = CONTEST_LIST_TTL[platform] or (24 * 60 * 60) -- Default 1 day
|
||||
local ttl = CONTEST_LIST_TTL[platform] or (24 * 60 * 60)
|
||||
cache_data.contest_lists[platform] = {
|
||||
contests = contests,
|
||||
cached_at = os.time(),
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ local function parse_test_cases_from_files(input_file, expected_file)
|
|||
local base_name = vim.fn.fnamemodify(input_file, ':r')
|
||||
local test_cases = {}
|
||||
|
||||
-- Try numbered files first (created by scraper)
|
||||
local i = 1
|
||||
while true do
|
||||
local individual_input_file = base_name .. '.' .. i .. '.cpin'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue