This was a fun problem, but I think lookup table solutions are possible given the way the way the test suite is configured. Maybe you could add a string parser to see if the test suite correct solutions are included in the answer code?
1800 Solvers
235 Solvers
190 Solvers
251 Solvers
Piecewise linear interpolation
299 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!