Using the modern Generator random API with the PCG64 bit generator, seeded with 365, draw a shape-shaped array from a binomial distribution with n trials and success probability p.
shape
n
p
solve(...)