From 5e919e1032d054bfc26d977f18969bf17e9a50db Mon Sep 17 00:00:00 2001 From: Dup4 Date: Fri, 12 Jan 2024 20:06:01 +0800 Subject: [PATCH] feat: add banner_mode Signed-off-by: Dup4 --- data/icpc/48th/ecfinal/config.json | 2 +- origin-data/icpc/48th/ecfinal/formal.py | 1 + origin-data/icpc/48th/ecfinal/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/icpc/48th/ecfinal/config.json b/data/icpc/48th/ecfinal/config.json index 6fbfea14..b06fc994 100644 --- a/data/icpc/48th/ecfinal/config.json +++ b/data/icpc/48th/ecfinal/config.json @@ -1 +1 @@ -{"contest_name":"The 2023 ICPC Asia East Continent Final Contest","start_time":1705114800,"end_time":1705132800,"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"},"banner":{"url":"../ecfinal-assets/banner_min.png"},"options":{}} \ No newline at end of file +{"contest_name":"The 2023 ICPC Asia East Continent Final Contest","start_time":1705114800,"end_time":1705132800,"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"},"banner":{"url":"../ecfinal-assets/banner_min.png"},"banner_mode":"ONLY_BANNER","options":{}} \ No newline at end of file diff --git a/origin-data/icpc/48th/ecfinal/formal.py b/origin-data/icpc/48th/ecfinal/formal.py index e3fa63d6..36ee6d4d 100644 --- a/origin-data/icpc/48th/ecfinal/formal.py +++ b/origin-data/icpc/48th/ecfinal/formal.py @@ -18,6 +18,7 @@ def get_contest(): 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.fill_problem_id().fill_balloon_color() diff --git a/origin-data/icpc/48th/ecfinal/requirements.txt b/origin-data/icpc/48th/ecfinal/requirements.txt index cd378827..7d65248a 100644 --- a/origin-data/icpc/48th/ecfinal/requirements.txt +++ b/origin-data/icpc/48th/ecfinal/requirements.txt @@ -1 +1 @@ -xcpcio-board-spider == 0.0.62 +xcpcio-board-spider == 0.0.63