All Projects → m-s-abeer → vjudge-to-oj

m-s-abeer / vjudge-to-oj

Licence: MIT license
Import your vJudge solutions to actual online judges. Currently supports UVa, CodeForces, SPOJ, and CodeForces GYM.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to vjudge-to-oj

problem-solving
A platform where you can learn about algorithms and data structures. A heaven for competitive programmers. Learn here: https://reyadussalahin.github.io/problem-solving/
Stars: ✭ 33 (-23.26%)
Mutual labels:  spoj, uva, competitive-programming, codeforces
psolving-paradigms
Common problems of dynamic programming methods and techniques, including prerequisites, for competitive programmers.
Stars: ✭ 34 (-20.93%)
Mutual labels:  spoj, uva, competitive-programming, codeforces
Code
Macesuted's Code Repository.
Stars: ✭ 20 (-53.49%)
Mutual labels:  spoj, competitive-programming, codeforces, codeforces-gym
category-wise-problems
contains category wise problems(data structures, competitive) of popular platforms.
Stars: ✭ 32 (-25.58%)
Mutual labels:  uva, competitive-programming, codeforces
algovault
Algorithms and templates for competitive programming
Stars: ✭ 67 (+55.81%)
Mutual labels:  spoj, competitive-programming, codeforces
competitive-programming
Solutions of some problems in competitive programming
Stars: ✭ 23 (-46.51%)
Mutual labels:  competitive-programming, codeforces, vjudge
problem-solving
No description or website provided.
Stars: ✭ 56 (+30.23%)
Mutual labels:  spoj, uva, codeforces
Competitive Programming Score API
API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit
Stars: ✭ 118 (+174.42%)
Mutual labels:  spoj, competitive-programming, codeforces
Competitive Coding
Contains Solution for all type of Problems of Competitive Programming. Updates Frequently as any problem is solved.
Stars: ✭ 16 (-62.79%)
Mutual labels:  spoj, competitive-programming, codeforces
competitive-programming
Roadmap to learn data structures, algorithms, mathematics, dynamic programming to beat in competitive programming, or crack any interview.
Stars: ✭ 21 (-51.16%)
Mutual labels:  spoj, competitive-programming, codeforces
cppdump
Standard dumps of data structures/algorithms
Stars: ✭ 18 (-58.14%)
Mutual labels:  uva, competitive-programming, codeforces
icie
Competitive programming IDE-as-a-VS-Code-plugin
Stars: ✭ 81 (+88.37%)
Mutual labels:  spoj, competitive-programming, codeforces
ProgrammingProblems
Our answers to some programming problems,like ACM ICPC problems and others.(All problems are available on http://uva.onlinejudge.org or https://open.kattis.com) ** PLEASE STAR THE REPO IF IT 'S USEFUL :) **
Stars: ✭ 27 (-37.21%)
Mutual labels:  uva, competitive-programming, codeforces
Cph
Makes judging, compiling, and downloading problems for competitive programming easy.
Stars: ✭ 199 (+362.79%)
Mutual labels:  competitive-programming, codeforces
Competitive Programming
VastoLorde95's solutions to 2000+ competitive programming problems from various online judges
Stars: ✭ 147 (+241.86%)
Mutual labels:  competitive-programming, codeforces
Problem Solving Training
Problem solving training for computer science students.
Stars: ✭ 210 (+388.37%)
Mutual labels:  competitive-programming, codeforces
ICPC-Question-Solving
Our homework for ACM-ICPC contest preparation
Stars: ✭ 26 (-39.53%)
Mutual labels:  uva, competitive-programming
Competitive Programming
Hello Programmers 💻 , A one-stop Destination✏️✏️ for all your Competitive Programming Resources.📗📕 Refer CONTRIBUTING.md for contributions
Stars: ✭ 113 (+162.79%)
Mutual labels:  competitive-programming, codeforces
Codeforces
Stars: ✭ 128 (+197.67%)
Mutual labels:  competitive-programming, codeforces
solutions
Solutions to online programming problems
Stars: ✭ 36 (-16.28%)
Mutual labels:  spoj, competitive-programming

vjudge-to-oj

made-with-python GitHub license GitHub forks GitHub stars Hits

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: [email protected]

Hope you enjoy. <3


Installation Guide:

With poetry(Easier):-

  1. Download/clone the repository from github using git:-
    • Run git clone https://github.com/m-s-abeer/vjudge-to-oj.git from your cmd/terminal in your specified directory.
  2. Download and install python ^3.10 from here:- https://www.python.org/downloads/
  3. Make sure you are using the desired python version by running python --version
  4. Download and install python-poetry
  5. Get inside project vjudge-to-oj and then write poetry install on cmd/terminal. This should install all the dependencies/packages.

Without poetry:-

  1. Download/clone the repository from github using git:-
    • Run git clone https://github.com/m-s-abeer/vjudge-to-oj.git from your cmd/terminal in your specified directory.
  2. Download and install python ^3.10 from here:- https://www.python.org/downloads/
  3. Make sure you are using the desired python version by running python --version
  4. Get inside project vjudge-to-oj
  5. Write python -m venv .venv to create a python environment inside project.
  6. Write source ./.venv/activate for Linux, MacOS, WSL. For windows write .\.venv\Scripts\activate to activate the python environment
  7. Run pip install --upgrade pip and then pip install -r requirements.txt to install all the dependencies/packages

Set your .env file:-

  1. Create a file named .env in the project directory.
  2. Copy the contents of .env.example and paste it in .env file.
  3. Read the comments in .env file and set the values accordingly.

How it should work:

  1. Complete the #installation-guide and run the following command inside project root from cmd/terminal to activate the environment:-
    • Poetry users: poetry shell
    • Linux, MacOS, WSL users: source ./.venv/bin/activate
    • Windows users: .\.venv\Scripts\activate
  2. Make sure you have set the values in .env file correctly.
  3. Run python main.py from the project root
  4. The program will automatically download your Accepted solutions from vjudge and then submit them one by one and store the submitted solutions to another folder(modules>Submitted>UVA>).
  5. It'll show you the status report as it runs. It may look messy, but it actually helps you see what's going on.
  • No login data is bypassed/redirected to anywhere else. Vjudge login data is stored inside "vjudge-to-oj>modules>cookies" this directory. You can empty that folder if you're concerned or have issues logging in.

N.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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].