Create an input file - input.txt, add the input values, and then run the below commands:
g++ compute.cpp -o compute
cat input.txt | ./compute 200 1000
Create an input file - input.txt, add the input values, and then run the below commands:
g++ compute.cpp -o compute
cat input.txt | ./compute 200 1000