Project Euler 190 - Maximising a weighted product
Project Euler 190 - Maximising a weighted product
Official link: https://projecteuler.net/problem=190
Thought Process
Thought Process
Finding a maximum for a function, Pm, given a constraint, luckily for me I did Lagrange Multipliers last year (which is so tedious btw) luckily here the equation are extremely simple which leads to a very nice solution
Interactive Code
Interactive Code
Input an integer (yourinput)
Code will output [Pyourinput]