Problem 55205. Nuemann Polynomials
Solution Stats
Problem Comments
-
5 Comments
Great problem, Dyuman! This required quite some thought.
Banning "if" outright is a bit too much BTW. I understand you want to discourage lookup solutions, but this messed with my legitimate solution and required me to get creative.
Glad to know you liked it!
I can get around the test suite with some changes/updates, keeping in mind that I created this problem 3 years ago.
What do you suggest a good alternative would be?
Maybe I could ban str2num() instead, allowing if?
It depends on why you banned "if" in the first place, but if it is indeed look-up solutions, maybe "elseif" would catch most (not all, but it's not Pokémon, you can't catch 'em all anyway).
It was indeed to ban look-up/hard coded solutions. I have updated the test suite to check for 'elseif' and 'str2num' in place of 'if'.
I have re-scored your solutions, Christian.
As per the rest of the pokemons, well leave those to me ;)
Thanks, Dyuman!
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
886 Solvers
-
Matrix indexing with two vectors of indices
760 Solvers
-
Find the elements of a matrix according to a defined property.
90 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1978 Solvers
-
Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
87 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!