diff --git a/data/ccpc/10th/jinan/config.json b/data/ccpc/10th/jinan/config.json new file mode 100644 index 00000000..755e5cbb --- /dev/null +++ b/data/ccpc/10th/jinan/config.json @@ -0,0 +1 @@ +{"contest_name":"第 10 届 CCPC 中国大学生程序设计竞赛济南站 - 正式赛","start_time":1729990800,"end_time":1730008800,"frozen_time":3600,"penalty":1200,"problem_quantity":13,"problem_id":["A","B","C","D","E","F","G","H","I","J","K","L","M"],"group":{"official":"正式队伍","unofficial":"打星队伍","girl":"女队"},"organization":"School","status_time_display":{"correct":true,"incorrect":true,"pending":true},"medal":"ccpc","balloon_color":[{"color":"#fff","background_color":"rgba(189, 14, 14, 0.7)"},{"color":"#fff","background_color":"rgba(149, 31, 217, 0.7)"},{"color":"#fff","background_color":"rgba(16, 32, 96, 0.7)"},{"color":"#000","background_color":"rgba(38, 185, 60, 0.7)"},{"color":"#000","background_color":"rgba(239, 217, 9, 0.7)"},{"color":"#fff","background_color":"rgba(243, 88, 20, 0.7)"},{"color":"#fff","background_color":"rgba(12, 76, 138, 0.7)"},{"color":"#000","background_color":"rgba(156, 155, 155, 0.7)"},{"color":"#000","background_color":"rgba(4, 154, 115, 0.7)"},{"color":"#fff","background_color":"rgba(159, 19, 236, 0.7)"},{"color":"#000","background_color":"rgba(42, 197, 202, 0.7)"},{"color":"#fff","background_color":"rgba(142, 56, 54, 0.7)"},{"color":"#000","background_color":"rgba(144, 238, 144, 0.7)"}],"logo":{"preset":"ccpc"},"options":{"calculation_of_penalty":"accumulate_in_seconds_and_finally_to_the_minute"}} \ No newline at end of file diff --git a/data/ccpc/10th/jinan/run.json b/data/ccpc/10th/jinan/run.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/data/ccpc/10th/jinan/run.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/data/ccpc/10th/jinan/team.json b/data/ccpc/10th/jinan/team.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/data/ccpc/10th/jinan/team.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/data/icpc/49th/chengdu/config.json b/data/icpc/49th/chengdu/config.json new file mode 100644 index 00000000..aad25a47 --- /dev/null +++ b/data/icpc/49th/chengdu/config.json @@ -0,0 +1 @@ +{"contest_name":"第 49 届 ICPC 国际大学生程序设计竞赛区域赛成都站 - 正式赛","start_time":1729990800,"end_time":1730008800,"frozen_time":3600,"penalty":1200,"problem_quantity":13,"problem_id":["A","B","C","D","E","F","G","H","I","J","K","L","M"],"group":{"official":"正式队伍","unofficial":"打星队伍"},"organization":"School","status_time_display":{"correct":true,"incorrect":true,"pending":true},"medal":{},"balloon_color":[{"color":"#fff","background_color":"rgba(189, 14, 14, 0.7)"},{"color":"#fff","background_color":"rgba(149, 31, 217, 0.7)"},{"color":"#fff","background_color":"rgba(16, 32, 96, 0.7)"},{"color":"#000","background_color":"rgba(38, 185, 60, 0.7)"},{"color":"#000","background_color":"rgba(239, 217, 9, 0.7)"},{"color":"#fff","background_color":"rgba(243, 88, 20, 0.7)"},{"color":"#fff","background_color":"rgba(12, 76, 138, 0.7)"},{"color":"#000","background_color":"rgba(156, 155, 155, 0.7)"},{"color":"#000","background_color":"rgba(4, 154, 115, 0.7)"},{"color":"#fff","background_color":"rgba(159, 19, 236, 0.7)"},{"color":"#000","background_color":"rgba(42, 197, 202, 0.7)"},{"color":"#fff","background_color":"rgba(142, 56, 54, 0.7)"},{"color":"#000","background_color":"rgba(144, 238, 144, 0.7)"}],"logo":{"preset":"ICPC"},"options":{}} \ No newline at end of file diff --git a/data/icpc/49th/chengdu/run.json b/data/icpc/49th/chengdu/run.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/data/icpc/49th/chengdu/run.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/data/icpc/49th/chengdu/team.json b/data/icpc/49th/chengdu/team.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/data/icpc/49th/chengdu/team.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/origin-data/ccpc/10th/jinan/formal.py b/origin-data/ccpc/10th/jinan/formal.py index d6fc9789..de593618 100644 --- a/origin-data/ccpc/10th/jinan/formal.py +++ b/origin-data/ccpc/10th/jinan/formal.py @@ -5,20 +5,20 @@ import common DATA_DIR = os.getenv( - "DATA_DIR", "../../../../data/ccpc/10th/harbin") + "DATA_DIR", "../../../../data/ccpc/10th/jinan") FETCH_URI = os.getenv( - "FETCH_URI", "https://cpc.csgrandeur.cn/rank/contests/154c5f2e-e3c4-4090-80a3-29ff0b7c348b") + "FETCH_URI", "https://cpc.csgrandeur.cn/rank/contests/f0cfdcc1-0903-4481-b326-b1aca051204e") def get_contest(): c = common.get_basic_contest() - c.contest_name = "第 10 届 CCPC 中国大学生程序设计竞赛哈尔滨站 - 正式赛" + c.contest_name = "第 10 届 CCPC 中国大学生程序设计竞赛济南站 - 正式赛" c.problem_quantity = 13 - c.start_time = utils.get_timestamp_second("2024-10-20 09:20:00") - c.end_time = utils.get_timestamp_second("2024-10-20 14:20:00") + c.start_time = utils.get_timestamp_second("2024-10-27 09:00:00") + c.end_time = utils.get_timestamp_second("2024-10-27 14:00:00") c.medal = "ccpc" c.fill_problem_id().fill_balloon_color() diff --git a/origin-data/icpc/49th/chengdu/formal.py b/origin-data/icpc/49th/chengdu/formal.py index 36ee6d4d..32f3ae44 100644 --- a/origin-data/icpc/49th/chengdu/formal.py +++ b/origin-data/icpc/49th/chengdu/formal.py @@ -5,7 +5,7 @@ import common DATA_DIR = os.getenv( - "DATA_DIR", "../../../../data/icpc/48th/ecfinal") + "DATA_DIR", "../../../../data/icpc/49th/chengdu") FETCH_URI = os.getenv( "FETCH_URI", "") @@ -14,11 +14,10 @@ def get_contest(): c = common.get_basic_contest() - c.contest_name = "The 2023 ICPC Asia East Continent Final Contest" + c.contest_name = "第 49 届 ICPC 国际大学生程序设计竞赛区域赛成都站 - 正式赛" c.problem_quantity = 13 - c.start_time = utils.get_timestamp_second("2024-01-13 11:00:00") - c.end_time = utils.get_timestamp_second("2024-01-13 16:00:00") - c.banner_mode = "ONLY_BANNER" + c.start_time = utils.get_timestamp_second("2024-10-27 09:00:00") + c.end_time = utils.get_timestamp_second("2024-10-27 14:00:00") c.fill_problem_id().fill_balloon_color() diff --git a/origin-data/icpc/49th/chengdu/warmup.py b/origin-data/icpc/49th/chengdu/warmup.py index 89c3bf6a..83d460a0 100644 --- a/origin-data/icpc/49th/chengdu/warmup.py +++ b/origin-data/icpc/49th/chengdu/warmup.py @@ -18,8 +18,6 @@ def get_contest(): c.problem_quantity = 4 c.start_time = utils.get_timestamp_second("2024-10-26 14:20:00") c.end_time = utils.get_timestamp_second("2024-10-26 16:20:00") - c.frozen_time = 30 * 60 - c.unfrozen_time = 60 * 60 c.fill_problem_id().fill_balloon_color()