项目地址:https://github.com/StardustDL/generator-oj-problem
此工具可以规范题目格式,辅助生成题目数据,本地判题检验题目数据,并渲染 Markdown 题目描述,生成可以导入到 OJ 的题目包。
目前支持的 OJ:
- HustOJ(可生成支持直接导入的题目包)
generator-oj-problem
A CLI tool to generate Online-Judge Problem.
Install
Use one of the following methods to install this tool:
Portable
This methods do not install the tool into your system, so you must use the tool by the full-path.
You can also add it to the environment variable PATH
.
- Download the release package for your OS.
- Unzip the package
- The tool is in the unzipped directory, named
gop
.
Global (Deprecated)
This methods install the tool into your system, and you can use the tool anywhere.
Attention: The tool depends on .NET Core, so you need to install .NET Core first.
- Install .NET Core SDK for your OS.
- Here is the website to download .NET Core.
- If you want to use main version:
- Use this command t