Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (27 loc) · 1.14 KB

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 ;)