What does "Output Limit Exceeded" mean?


  • 5
    K

    I got "Output Limit Exceeded" error, what does it mean? Thanks.


  • 9
    S

    It could be your code print something, which shouldn't happen. Also, it might be your return variable contains too much values, caused by inappropriate implementation. This situation could be considered as Wrong Answer.


  • 4
    H

    It means that you got duplicates result.


  • 1
    P

    It means your output has more entries than expected. For e.g. if you are supposed to tell YES or NO for a number begin prime, you should have just a single line with either YES or NO, but if your output has more than one lines, it is "output limit" exceeded.


  • 0
    R

    What's a duplicates result?


  • 0
    D

    duplicate is: lets say result should be{{1,1,}{0,2}}; but your result is{{1,1}{1,1}{0,2}}


Log in to reply
 

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