Project Euler 323 - Bitwise-OR operations on random integers
Project Euler 323 - Bitwise-OR operations on random integers
Official link: https://projecteuler.net/problem=323
Official link: https://projecteuler.net/problem=323
I've done a similar problem in my Statistics and Probability course, simple if you know the approach!
Input an integer (yourinput)
Code will output the expected value of N where yi is a random yourinput bit integer