Competitive programming in Haskell: folding challenge
As of this writing, I am the only person who has solved Origami on Open Kattis (see the problem statistics here). This is a shame since it is a very nice problem! Of course, I solved it in Haskell.
I challenge you to solve it—bonus points for using a fold in your solution!