Warning: The website is flaky, but I'll fix it soon. Currently, it is advised to use Python3 only on the website.
Link To My Website
Features
The website allows you to run code with stdin in Python3 or C++17 and it also allows you to smoothly try to hack someone else's solution smoothly via manually written test cases or generator (PS: It also tells if the code gives TLE or MLE).
- Edit: As pointed out by near_ai, A new feature is added that doesn't let you run malicious code or the code which can potentially be harmful for the system.
- Edit: Added the feature that lets input allowed Time (in seconds) and allowed Memory (in MB) in both
Correct Code
andNew Code
in Hack Interface making the functionality more robust. - Edit: As suggested by RangeyBhakt and more, added safe sandboxing.
Motivation
As a competitive programming enthusiast, I always wanted to hack a solution but as of now even after being a Codeforces Expert, I have never successfully hacked a solution.
As of now there are multiple websites that allow one to write code with stdin but there is nothing that makes it smooth to hack someone else's code via manual test cases or generator smoothly (at least I didn't find one), so I made one.
Note:
- Please try it and give feedback or suggestions in comments
- Please upvote if you like the website or the blog