#P100. [Sleeping Cup #3] Grammar quiz
[Sleeping Cup #3] Grammar quiz
Person in Charge
Attention
This problem consists of sub-questions, each worth points, with a total score of points.
Questions
- For
mt19937generating pseudo-random numbers, after how many random numbers is atwistoperation performed? - What is the period of pseudo-random numbers generated by
mt19937? - Since which C++ version has Philox engine been supported for generating pseudo-random numbers?
- Which Codeforces problem examines the
twistoperation ofmt19937? - In C++14, how can you use STL and the default random number generator (seeded with
time(0)) to shuffle avector<int> v?
Additional Constraints
- You need to fill in a positive integer.
- You need to fill in a LaTeX inline formula with a dollar sign and no spaces.
- You need to fill in a string prefixed with
C++, indicating a C++ version. - You need to fill in a string prefixed with
CF, representing a Codeforces problem. - You need to fill in a string without
std::or spaces, representing a line of C++ code.
Example Answer Format
233$2\times(n-1)^{n+1}$C++98CF4Acout<<v.size()<<endl;
Answer Area
- {{ input(1) }}
- {{ input(2) }}
- {{ input(3) }}
- {{ input(4) }}
- {{ input(5) }}