Skip to content

dhiraj-01/Stress-Testing

Repository files navigation

Stress Testing

Preview 👀

Example 1 Example 2

Prerequirement

How to use ? 🤔

  • Clone or Download this repository.
  • Files/correct.cpp - your brute force approch or you can copy accepted code.
  • Files/wrong1.cpp, Files/wrong2.cpp ... the files you want to compare / check with Files/correct.cpp.
  • Generate testcase in testcase.cpp file
  • Modify hack.py file according to number of files ..
files = [
    './Files/wrong1.cpp',
    './Files/wrong2.cpp',
    # './Files/wrong3.cpp',
]
  • Run python hack.py
  • After getting wrong answer chekout Files/in.txt and Files/out.txt

Bye

  • Testcase generator is written in c++, you can also use other language but make sure to modify hack.py accordingly.
  • Give a star⭐️ & Follow ;)

Releases

No releases published

Packages

No packages published