Competitive programmers spend hundreds and thousands of hours practicing programming problems and participating contests. Vjudge has been an amazing platform for participating/hosting programming contests and problem-solving.
However, there can be scenarios where you'd like to add vjudge solutions to the actual judge profiles specifically. I personally felt the need of it along with some of my friends and colleagues. It's a tiresome job to submit all the solved problems of vjudge to the actual judges. This here is a small approach to get such works done easily.
Current solution will only work for UVa, CodeForces, LightOj and SPOJ. So far, it's pretty much stable and working just fine. It's roughly written and tested. But hey, it works!!!
With enough response and your contribution I hope to add some more judges here as well. Huge thanks to all who contributed so far to my fun projects.
Let me know if you have any questions/suggestions/feedbacks or simply if you liked it.
Email: mahmudsajjad.abeer@gmail.com
Hope you enjoy. <3
git clone https://github.com/m-s-abeer/vjudge-to-oj.git
from your cmd/terminal in your specified directory.python ^3.10
from here:- https://www.python.org/downloads/python --version
python-poetry
https://python-poetry.org/docs/#installing-with-the-official-installer
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
vjudge-to-oj
and then write poetry install
on cmd/terminal. This should install all the dependencies/packages.git clone https://github.com/m-s-abeer/vjudge-to-oj.git
from your cmd/terminal in your specified directory.python ^3.10
from here:- https://www.python.org/downloads/python --version
vjudge-to-oj
python -m venv .venv
to create a python environment inside project. source ./.venv/activate
for Linux, MacOS, WSL. For windows write .\.venv\Scripts\activate
to activate the python environmentpip install --upgrade pip
and then pip install -r requirements.txt
to install all the dependencies/packages.env
in the project directory..env.example
and paste it in .env
file..env
file and set the values accordingly.poetry shell
source ./.venv/bin/activate
.\.venv\Scripts\activate
.env
file correctly.python main.py
from the project rootN.B: Please don't run it when the corresponding judge is already busy and many submissions are already in queue. It's built only for personal uses. This program is in no way meant to hamper the solving environment of a judging platform.