core: add tags (#75)

This commit is contained in:
Rratic authored and GitHub committed 2021-03-31 22:31:46 +08:00
1 parent 96006d88b1
commit c97f7f6cc0
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ class JudgeTask {
this.ws.send(JSON.stringify({ this.ws.send(JSON.stringify({
key: 'next', key: 'next',
tag: this.tag, tag: this.tag,
judge_text: '自豪的采用 HydroJudge(https://github.com/hydro-dev/Hydro) 进行评测。', judge_text: '自豪地采用 HydroJudge(https://github.com/hydro-dev/Hydro) 进行评测。',
})); }));
if (data.message !== undefined) { if (data.message !== undefined) {
data.judge_text = data.message; data.judge_text = data.message;
+9
View File
@@ -367,6 +367,7 @@ export const DEFAULT_NODES = {
}; };
export const CATEGORIES = { export const CATEGORIES = {
// 从洛谷标签中借鉴了一部分
动态规划: [ 动态规划: [
'LCS', 'LCS',
'LIS', 'LIS',
@@ -405,6 +406,7 @@ export const CATEGORIES = {
树结构: [ 树结构: [
'最近公共祖先', '最近公共祖先',
'生成树', '生成树',
'次小生成树',
'DFS序列', 'DFS序列',
'树上倍增', '树上倍增',
'树的分治', '树的分治',
@@ -412,6 +414,10 @@ export const CATEGORIES = {
'Link-Cut-Tree', 'Link-Cut-Tree',
], ],
图结构: [ 图结构: [
'Floyd',
'Dijkstra',
'SPFA',
'负权边',
'平面图', '平面图',
'二分图', '二分图',
'二分图匹配', '二分图匹配',
@@ -452,6 +458,8 @@ export const CATEGORIES = {
'四分树', '四分树',
'划分树', '划分树',
'归并树', '归并树',
'替罪羊树',
'左偏树',
'k-d树', 'k-d树',
'块状链表', '块状链表',
'Hashing', 'Hashing',
@@ -468,6 +476,7 @@ export const CATEGORIES = {
'最小表示法', '最小表示法',
], ],
组合数学: [ 组合数学: [
'鸽笼',
'生成函数', '生成函数',
'容斥原理', '容斥原理',
'康托展开', '康托展开',