Is standard answer really wrong?

  • 0

    In some language when integer overflow is possible, OJ returns a wrong answer, which is not the max product. However, let's consider the integer range, then the answer should be the max product in integer range. I think this should be exactly what this problem means.

  • 0

    yes, when n > 58 the answer allways is 2066242608.use js language;

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.