prize.cpp: In function 'int Learn(int, int)':
prize.cpp:45:22: error: no match for call to '(std::mt19937_64 {aka std::mersenne_twister_engine<long unsigned int, 64, 312, 156, 31, 13043109905998158313, 29, 6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005>}) (int&, int&)'
45 | int mid = rng(l , r);
| ^
In file included from /usr/include/c++/10/random:51,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:108,
from prize.cpp:1:
/usr/include/c++/10/bits/random.tcc:450:5: note: candidate: 'std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::operator()() [with _UIntType = long unsigned int; long unsigned int __w = 64; long unsigned int __n = 312; long unsigned int __m = 156; long unsigned int __r = 31; _UIntType __a = 13043109905998158313; long unsigned int __u = 29; _UIntType __d = 6148914691236517205; long unsigned int __s = 17; _UIntType __b = 8202884508482404352; long unsigned int __t = 37; _UIntType __c = 18444473444759240704; long unsigned int __l = 43; _UIntType __f = 6364136223846793005; std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type = long unsigned int]'
450 | mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
451 | __s, __b, __t, __c, __l, __f>::
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/random.tcc:450:5: note: candidate expects 0 arguments, 2 provided