clock_t start_time = clock();
// code //
clock_t end_time = clock();
cout << "The run time is: " << (double)(end_time - start_time) / CLOCKS_PER_SEC << "s" << endl;
auto start = std::chrono::high_resolution_clock::now();
// code //
auto end = std::chrono::high_resolution_clock::now();
int time = std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
std::cout << "time: " << time << std::endl;