News for hackers. Stuff that matters.
Re:Put your programming skills to the test by cjhopman on Sunday February 12, 2012 @05:08PM (#3583191)
If you're going to be a smart-ass, then go all out.

  function jsChallenge() {
    function sum(n) {
      var k = Math.floor(1000 / n);
      return n * k * (k + 1) / 2;
    };
    return sum(1) - sum(5) - sum(7) + sum(35);
  }

There are no comments on this comment yet.