Skip to content

Commit

Permalink
feat: add banner_mode
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <[email protected]>
  • Loading branch information
Dup4 committed Jan 12, 2024
1 parent ebd21b0 commit 5e919e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/icpc/48th/ecfinal/config.json
Original file line number Diff line number Diff line change
@@ -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":{}}
{"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":{}}
1 change: 1 addition & 0 deletions origin-data/icpc/48th/ecfinal/formal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion origin-data/icpc/48th/ecfinal/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
xcpcio-board-spider == 0.0.62
xcpcio-board-spider == 0.0.63

0 comments on commit 5e919e1

Please sign in to comment.