DauHoangTai / DemoTestCaseInC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scoring System Like Hackerrank

Prerequisite:

  • OS: Ubuntu
  • g++ >= 7.5

Introduce:

  • file run is file system (do not change)
  • child.cpp file is the file submitted by the user
  • input.txt file is the test case of the problem
  • The output.txt file is the standard output of the test cases

How to use:

  • If you change the run.cpp file, run the command again -> g++ run.cpp -o run. Advice do not change the run.cpp file if you are not new to information technology and programming
  • Usage: ./run child.cpp input.txt output.txt

Example:

  • file child.cpp
  • image
  • file input.txt
  • image
  • file ouput.txt
  • image

Result

  • image

About


Languages

Language:C++ 100.0%