Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 943 Bytes

README.md

File metadata and controls

48 lines (27 loc) · 943 Bytes

hydro-problem-color

适用于 Hydro OJ 的题目难度颜色插件

安装插件

  1. 克隆此仓库至任意目录
git clone https://github.com/Unitive-Online-Judge/hydro-problem-color.git
  1. 安装插件
hydrooj addon add <path-to-hydro-problem-color>
  1. 重启 Hydro OJ
hydrooj restart

使用插件

在题目难度填写框中填写题目难度,支持的难度范围为 $1 \sim 7$,填写后即可看到对应的颜色。

具体地:

$\textbf{\textcolor{#fe4c61}{入门}}$:1

$\textbf{\textcolor{#f39c11}{普及-}}$:2

$\textbf{\textcolor{#ffc116}{普及/提高-}}$:3

$\textbf{\textcolor{#52c41a}{普及+/提高}}$:4

$\textbf{\textcolor{#3498db}{提高+/省选-}}$:5

$\textbf{\textcolor{#9d3dcf}{省选/NOI-}}$:6

$\textbf{\textcolor{#0e1d69}{NOI/NOI+/CTSC}}$:7

效果

image