Client-based implementation of online judge.
To use this web application, please visit https://serverless-judge.github.io/.
- Fork this repository.
- Prepare a Python 3 environment with version 3.11 or greater.
- Run
python3 scripts/new.py path/to/new/problem
. For Baekjoon Online Judge problems, please usepython3 scripts/new.py boj/1000
with1000
replaced with the problem number. - Add a solution and input data. You can reference existing solutions and data to figure out how to do this.
- Run
python3 scripts/build.py
. Please make sure that the build succeeds and that the newly written judge works on your local environment. One way to do this is to open the local repository's root folder in Visual Studio Code, install theLive Server
extension, and clickGo Live
on the right bottom. The newly written judge should appear on the website root (index.html). - Commit, push, and create a pull request on this repository.