Skip to content

Commit

Permalink
docs: use table instead of json. fix lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ballade0d committed Oct 23, 2024
1 parent 5c10be1 commit 53ddec4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 56 deletions.
45 changes: 6 additions & 39 deletions docs/dev-guide/backend/judge-mid/freshcup-mid.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,11 @@ sastoj 通过 FreshCup 中间件提供了对 `单选题、多选题、简答题`

该评测机支持的题目类型为选择题、填空题。对应的题目类型信息如下:

``` json
// 单选题
{
// 题目类型的简化名称
"slug_name": "freshcup-single-choice",
// 显示名
"display_name": "Single-Choice",
// 题目类型描述
"description": "Single Choice Problem powered by Freshcup",
// 在消息队列中的提交通道名称
"submission_channel_name": "freshcup-submission",
// 在消息队列中的自测通道名称
"self_test_channel_name": "freshcup-self-test",
// 评测机名称
"judge": "freshcup"
}
// 多选题
{
"slug_name": "freshcup-multiple-choice",
"display_name": "Multiple-Choice",
"description": "Multiple Choice Problem powered by Freshcup",
"submission_channel_name": "freshcup-submission",
"self_test_channel_name": "freshcup-self-test",
"judge": "freshcup"
}
// 填空题
{
"slug_name": "freshcup-short-answer",
"display_name": "Short-Answer",
"description": "Short Answer Problem powered by Freshcup",
"submission_channel_name": "freshcup-submission",
"self_test_channel_name": "freshcup-self-test",
"judge": "freshcup"
}
```
| 题目类型 | Slug Name | Display Name | Description | Submission Channel Name | Self Test Channel Name | Judge |
|:----:|:------------------------:|:---------------:|:-------------------------------------------:|:-----------------------:|:----------------------:|:--------:|
| 单选题 | freshcup-single-choice | Single-Choice | Single Choice Problem powered by Freshcup | freshcup-submission | freshcup-self-test | freshcup |
| 多选题 | freshcup-multiple-choice | Multiple-Choice | Multiple Choice Problem powered by Freshcup | freshcup-submission | freshcup-self-test | freshcup |
| 简答题 | freshcup-short-answer | Short-Answer | Short Answer Problem powered by Freshcup | freshcup-submission | freshcup-self-test | freshcup |

## 代码结构

Expand Down Expand Up @@ -96,11 +66,8 @@ sastoj 通过 FreshCup 中间件提供了对 `单选题、多选题、简答题`
"A": "选项A",
"B": "选项B",
"C": "选项C",
"D": "选项D",
......
// 更多选项
"D": "选项D"
},
"size": "4"
// 选项数量
}
```
20 changes: 3 additions & 17 deletions docs/dev-guide/backend/judge-mid/gojudge-mid.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,9 @@ Go-judge 中间件是搭建了 sastoj 和 Go-judge 服务直接的桥梁,将 s

该评测机支持的题目类型为编程题。对应的题目类型信息如下:

``` json
// 编程题
{
// 题目类型的简化名称
"slug_name": "gojudge-classic-algo",
// 显示名
"display_name": "Classic-Algo",
// 题目类型描述
"description": "Classic Algo Problem powered by Gojudge",
// 在消息队列中的提交通道名称
"submission_channel_name": "gojudge-submission",
// 在消息队列中的自测通道名称
"self_test_channel_name": "gojudge-self-test",
// 评测机名称
"judge": "gojudge"
}
```
| 题目类型 | Slug Name | Display Name | Description | Submission Channel Name | Self Test Channel Name | Judge |
|:----:|:--------------------:|:------------:|:---------------------------------------:|:-----------------------:|:----------------------:|:-------:|
| 编程题 | gojudge-classic-algo | Classic-Algo | Classic Algo Problem powered by Gojudge | gojudge-submission | gojudge-self-test | gojudge |

## 代码结构

Expand Down

0 comments on commit 53ddec4

Please sign in to comment.