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
-
Project Euler: Problem 2, Sum of even Fibonacci
2646 Solvers
-
Maintain shape of logical-index mask
72 Solvers
-
1569 Solvers
-
Implement a bubble sort technique and output the number of swaps required
353 Solvers
-
interesting center of magic matrix
108 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!