Everything above "using namespace std" is modify-able

Change the function and the min-x and max-t