Problem guessarray
User shenshiqi
Submission Time 2026-09-18 21:56:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guessarray.cpp:5:62: error: no matching function for call to ‘std::mersenne_twister_engine<long unsigned int, 64, 312, 156, 31, 13043109905998158313, 29, 6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005>::mersenne_twister_engine(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >::duration)’
5 | mt19937_64 rng(chrono::system_clock::now().time_since_epoch());
| ^
In file included from /usr/include/c++/9/random:49,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:108,
from guessarray.cpp:2:
/usr/include/c++/9/bits/random.h:530:9: note: candidate: ‘template<class _Sseq, class> std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::mersenne_twister_engine(_Sseq&)’