Hack the other's Solutions or Find logical errors and bugs by generating the platform independent set of random testcases
- Extension takes two source files(correct solution and wrong solution)
- Random inputs are generated using generator file.
- Both source files run on these inputs
- Output is compared using checker
- Read more about generators here
- Support all default checkers of Codeforces
- supported languages : C, C++, Java, Python
- C++ must be installed on system and accessible globally.
-
open any workspace
-
open Command Palette(
Ctrl + Shift + P
) -
search for
HTS : Start the Hack
or (Ctrl + Alt + H
) -
Give relative path from workspace to source files
-
Here you go. Hack started
-
Random testcases will be generated automatically until bug not found or maximum number of testcases reached.
1. Max Tests : Maximum number of testcases to run. Default 50
2. Time Out : TimeLimit for a souce code to run in millisecond. Default 2000