Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    \$\begingroup\$ Nicely done :) Delphi sucks at this lol.. just finished mine and im at 459 xD need to improve! \$\endgroup\$ Commented Jul 2, 2014 at 12:17
  • 1
    \$\begingroup\$ Input needs to be from a file named source , not STDIN \$\endgroup\$ Commented Jul 2, 2014 at 12:31
  • \$\begingroup\$ To read from file, borrow from ruby: "#{File.read('source')}" \$\endgroup\$ Commented Jul 2, 2014 at 16:24
  • 1
    \$\begingroup\$ @Quincunx You can drop the parentheses from that: "#{File.read'source'}" \$\endgroup\$ Commented Jul 2, 2014 at 16:26
  • \$\begingroup\$ You can keep this as it is, I allowed STDIN now. \$\endgroup\$ Commented Jul 2, 2014 at 16:42