Skip to content

diyora13/Code-Checker

Repository files navigation

Code-Checker

It compares two codes on various randomly generated inputs and returns the edge cases.

/-------------------CodeCheck_Main.cpp file changes-----------------/

  1. change as per the requirement

/-------------------CodeCheck_Case_Generator.cpp file changes-----------------/

  1. change as per the requirement

/-------------------CodeCheck_code1.cpp file changes-----------------/

  1. add this in starting of the code

    #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output1.txt","w",stdout); #endif

/-------------------CodeCheck_code2.cpp file changes-----------------/

  1. add this in starting of the code

    #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output2.txt","w",stdout); #endif

/-------------------FILE & THEIR USE-----------------/

input: Random test case stored

output1: Code1's output stored output2: Code2's output stored

status: See your currunt running test case number

If terminated then see current input file's input output is different.....

About

It compares two codes on various randomly generated inputs and returns the edge cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages