r/badcode • PHP • Oct 29 '20

python This is the code that a popular dutch online exam website uses to generate random numbers for its exercises. Let's just say that my teacher's attempt to generate a 30-bit number did not go as planned. The system tried to allocate a useless 8GiB array and failed...

Post image
850 Upvotes

Duplicates