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!
Nice problem! Unfold the paper folding unfolded points xD xD
`unfold ls p = length $ filter inside $ foldr ((=
“folding unfolded points” — indeed. =D Hmm, looks like your code got cut off?
It’s only a joke :)