/algorithms

练习各种算法

Primary LanguageC++Mozilla Public License 2.0MPL-2.0

algorithms

题库

项目依赖

readme中大量使用了latex公式,为确保阅读体验,请保证浏览器正确渲染latex公式

在github显示latex公式的建议

安装这个插件

参考文献

测试latex成功渲染

你能看到下方的二分之一,而不是$\dfrac{1}{2}$

$\dfrac{1}{2}$

config.json的配置

{
  "testCaseId": null,
  "dataPath": null,
  "testData": null,
  "module": "PTA.PTA1061.Dating",
  "moduleEntry": null,
  "excludeTestCaseIds": null,
  "isTakeOverOutput": true
}
配置字段 合法类型 必须字段 描述 支持python 支持c++ 支持java
testCaseId Union[None, str] 指定测试的id
dataPath str 指定测试用例的路径
module str 指定需要测试的代码
moduleEntry Union[None, List[str]] 需要运行的函数,默认为summit
excludeTestCaseIds Union[None, List[str]] 不测试某些测试数据
isTakeOverOutput Union[None, bool] 测试环境想实时看到print调试法的输出,不接管stdout

data.json的配置

TODO

测试指定的一个数据

  • 使用"testCaseId"指定
  • 使用"testData"指定

测试全部

config.json中testCaseId为null,则测试全部数据