Skip to content
/ assets Public

The repository which stores assets for LYOI Online Judge.

License

Notifications You must be signed in to change notification settings

SDLYYZ/assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assets

This repository is used to store assets used by LYOI Online Judge.

Please upload the assets used by a problem in the problems directory, and create a directory named by the problem id to categorize them.

If your assets are used by the website, please upload them in the web directory.

Otherwise, you should upload them in the misc directory.

How to use

When you have uploaded your asset, you can get the CDN link provided by jsDelivr.

The format is shown below:

https://cdn.jsdelivr.net/gh/SDLYYZ/assets/[$LOCAL_PATH_IN_THE_GIT_REPOSITORY]

For example, if you uploaded an asset called glztxdy.png for problem with id 1145141919810, it's supposed to be located in /problems/1145141919810/glztxdy.png. Then you can get it with this link:

https://cdn.jsdelivr.net/gh/SDLYYZ/assets/problems/1145141919810/glztxdy.png

You can ask our administrators for commiting permission of this repository, or fork it and create a PR.

It's OK to store assets on wherever you like and link it on the OJ. But it's recommended to store it there.

About

The repository which stores assets for LYOI Online Judge.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published