Coder Social home page Coder Social logo

codexiao-cpp-data's Introduction

关于

这是晓编程的题库的测试数据。

1034及之前的题目已经在vijos上了。

所以这个repo暂时从1035开始。

比较高效的工作方法

因为vijos的系统限制, 要做数据, 有一些繁琐的工作。 经过摸索, 以下工作流相对比较快一些。

  1. 推荐在vscode里做这个工作。 因为vscode能同时看到多个文件,方便的在文件间切换。
  2. 创建一章的文件夹。 命名为xx-章节名. 例如, 09-数组
  3. 设计一道题的测试用例。 注意考虑边界条件, 考虑一些有难度的情况。
  4. 复制data-模板文件夹下的内容, 到章节文件夹下。
  5. 把这个数据模板文件夹改名为 xxxx 题目名。 例如, 1044 淘汰谁
  6. 修改数据模板文件夹里的相应文件。 默认的模板文件夹里有5套测试样例。 能满足大部分要求。 也就是说,对于大部分题目的数据, 您只需要修改input0.txt, output0.txt这些就够了。 不需要修改Config.ini, 也不需要变更文件夹的结构。
  7. 当你准备好数据后,下一步就是要上传到vijos了。
    1. 在vscode中, 右键单击章节(例如09-数组), 选择"Reveal in finder"。 如果是windows, 点击"打开文件位置"。
    2. 在新打开的操作系统文件夹浏览器中,可以方便对你刚做好的数据做压缩。
    3. 全部压缩好后, 在去vijos上, 上传数据。
  8. 上传后, 记得把数据提交到github, 作为我们的备份, 也利于改进数据。

codexiao-cpp-data's People

Contributors

leefurong avatar fermatz avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.