Coder Social home page Coder Social logo

hhy3 / scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sjtu-oj/scripts

0.0 0.0 0.0 83 KB

Scripts for generating pages hosted over oj.sjtucs.com

Home Page: https://oj.sjtucs.com

License: GNU General Public License v3.0

Python 88.93% HTML 11.07%

scripts's Introduction

oj.sjtucs.com maintaining scripts

Scripts for generating pages hosted over oj.sjtucs.com.

Contributing Code

Submitting solutions

  1. Prepare your solutions with a (GitHub, recommended) repository.
  2. Fork this repository, and create your configuration file under ./answer-sources. Read the format chapter below carefully.
  3. Check your code with ./solution_check.py in the root folder
  4. Make a pull request to this repository.

Bugs, misleading contents, &c.

Please open an issue under this repository.

configuration file format

Notice: The OJ has renewed it's question numbering. The old OJ's question is now merged into the new one, where its numbers has increased by 10000.

The configuration file is located under ./answer-sources, with extension .yaml.

author: your_display_name

set your name being displayed on the website. If space is needed you should add quotes like "Your display name".

link: https://example.com

(optional) Will not be used.

git-repo: [email protected]:someone/reponame.git

Enter your git repo in, and only in ssh format like above. HTTPS is not allowed.

type: direct

direct your cpp file, and path, can be located with numbers only. recursive your cpp file can be determined by numbers, but they are located in irrecognizable folders. Then we'll traverse your whole folder to find the cpp file.

private: true

(optional, default set to false) false your repository is set to public. true your repository is set to private. You need to at least grant victrid your repository's access to have them displayed on the website.

old: false

(optional, default set to false) false your OJ looks like this, which is put in use around 2021. true your OJ looks like this, which is put in use before around 2021. The OJ has renewed it's question numbering. The old OJ's question is now merged into the new one, where its numbers has increased by 10000.

route: "path/to/[NUMBER].cpp"

if type is set to direct, route should the the direct path to your solutions. if type is set to recursive, route should be the corresponding file name, without path.

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.