📅  最后修改于: 2022-03-11 14:44:46.185000             🧑  作者: Mango
#include
using namespace std::chrono;
auto start = high_resolution_clock::now();
auto stop = high_resolution_clock::now();
auto duration = duration_cast(stop - start);
cout << duration.count() << endl;