Ad
  • Custom User Avatar

    It is definitely not recommended. It looks clever but that's it. When you work with other developer, readability is more important. I just think it is a cool way to solve problem. But it could also mean code efficiency, eg your code use less variable etc. I could be wrong.

  • Default User Avatar

    Thanks for the info. I just realized this, after I look at the answer. I almost got it though. total will almost never equal to m. Should write it total<m. Thanks for the info anyway:)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution