Hey Everyone,
I am working on a college project that involves an online judge.
One of the features includes an IDE where we can run and test code on sample inputs and outputs. Codeforces is one such judge, and I was wondering how Codeforces compiles and runs our codes and tests them at such a high scale. Any insights would be helpful.
Thank you.
callmepandey
ye toh saar aapko MikeMirzayanov se pucchna hoga
You could check out some open source OJ projects on GitHub, like syzoj. That may help you to build one quickly.
Check DMOJ. Here are the docs: DMOJ Documentation
Well, I had implemented simple online judge. I don't share code, but can give some tips. But it is run on only one server, there are no something like "load balancing". Just always running program, which takes next submission and checks it. And mysql database right on this server.
If we forget about web part, which in my case was on PHP, for implementing testing system you have to quite well know unix shell, and what can happen bad with running program and what to do in this case.
++
Here is an open source online code execution system (judge zero). You can use it to build a wide range of applications that need online code execution features. Check it out, it may help you.
Hi tawhidmonowar, thank you so much for replying. I tried installing Judge0 on my machine (Runs on M1 pro Chip) and when i try to run any code it returns.
Everytime. The code and Language ID are fine.
I am interesting to hear your story with project if you done it, what did you learnt from it and what problems have you faced, I am about to create same thing for my graduate project.
would you mind sharing your journey after you are done, I would also like to know it and build it using Flask or Django and try to showcase something like this in upcoming science exhibitions of my college.
if you're still curious, I did it recently: https://github.com/nubskr/codespace
If you're still curious, I did it recently: https://github.com/nubskr/codespace
Hey can you please explain how you did it.the functionalities are impressive but implementing it looks too complex.
Bro can you to tell me how much time it it take to make this from scratch , i dont have projects for my resume so i want to build one