auto now = chrono::high_resolution_clock::now(); auto seed = now.time_since_epoch().count(); srand(static_cast(seed));