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
  • \$\begingroup\$ what is the maximum value of the input numbers? thanks. \$\endgroup\$ Commented Oct 19, 2015 at 21:17
  • 1
    \$\begingroup\$ @donbright No artificial limit. Only limit is what your computer and language can handle when it comes to representation, computation (with your chosen algorithm) and result. Potentially, a modern computer equipped with a printer that accepts data line by line, would have almost no limit... :-) \$\endgroup\$ Commented Oct 19, 2015 at 21:22
  • \$\begingroup\$ Is the square orientation a given, or can we rotate it 90 degrees? \$\endgroup\$ Commented Oct 20, 2015 at 5:34
  • 1
    \$\begingroup\$ Why the bonus for 0 values though? What would the expected output be if not just one square? \$\endgroup\$ Commented Oct 20, 2015 at 9:15
  • \$\begingroup\$ @MarchHo That's why the bonus is so small. Still, some languages may not be able to handle empty arrays. \$\endgroup\$ Commented Oct 20, 2015 at 11:55