Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于新版标签系统的构想 #22

Open
renbaoshuo opened this issue Dec 10, 2022 · 0 comments
Open

关于新版标签系统的构想 #22

renbaoshuo opened this issue Dec 10, 2022 · 0 comments
Assignees

Comments

@renbaoshuo
Copy link
Owner

背景

在 S2OJ 的使用过程中,题目标签一直是由题目上传者和管理员手动配置的,这样一来就会出现不同名称的标签表达同一意思的情况。一个最典型的例子就是「动态规划」和「DP」这两个标签。

需求

将题目标签系统修改为类似 LibreOJ 的标签系统。附图:

▲ 标签管理入口

▲ 标签管理界面

注:无需实现多语言功能。

实现细节

tags

键名 类型
id int NOT NULL AUTO_INCREMENT
name varchar(30) NOT NULL

problems_tags

键名 类型
id int NOT NULL AUTO_INCREMENT
problem_id int NOT NULL
tag_id int NOT NULL
@renbaoshuo renbaoshuo self-assigned this Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant