Problem roots
User Tyx2019
Submission Time 2023-12-14 17:21:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

roots.cpp:21:44: error: no matching function for call to ‘std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>::mersenne_twister_engine(std::chrono::_V2::system_clock::time_point)’
21 | mt19937 mt(std::chrono::system_clock::now());
| ^
In file included from /usr/include/c++/9/random:49,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:108,
from roots.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&)’
530 | mersenne_twister_engine(_Sseq& __q)
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/random.h:530:9: note: template argument deduction/substitution failed:<