TL; DR: #include <ext/random>
and use __gnu_cxx::sfmt19937
just as std::mt19937
.
Hi all,
I'm here to share a thing that seems not that well-known in the whole community.
I test the two codes below in the Codeforces' custom test with input 1000000000
sfmt19937
mt19937