Problem | toxic |
---|---|
User | Tyx2019 |
Submission Time | 2025-02-07 07:33:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
toxic.cpp:5:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int A[n + 5];
| ^
| yn
toxic.cpp:6:59: 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::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long int, std::ratio<1, 1000000000> > >::duration)’
6 | mt19937 rng(chrono::steady_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 toxic.cpp:1:
/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,