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
-
Remove any row in which a NaN appears
8694 Solvers
-
Find state names that start with the letter N
1386 Solvers
-
4537 Solvers
-
Omit columns averages from a matrix
603 Solvers
-
Magic is simple (for beginners)
10505 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!