Skip to main content

Timeline for Area of an ASCII polygon

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Apr 28, 2015 at 13:52 comment added nutki Input processing can be simplified for some more gains: $/=\1;$-^=2*y,/\\L,,,$a+=y,/\\V,,||$-for<>;print$a
Apr 28, 2015 at 5:00 comment added orlp Nice solution, Perl is surprisingly compact.
Apr 28, 2015 at 4:53 history edited Helios CC BY-SA 3.0
Don't need to explicitly match _ space and L when adding $b to $a.
Apr 28, 2015 at 4:46 history answered Helios CC BY-SA 3.0