'Submit Solution' is different from 'Run Code'?

  • 0

    I got a MLE error when I click 'submit solution', but if i copy the input and click 'run code', i got the same output as expected. I wonder why....
    P.S. The error occurs in the numCourses=2000.
    P.S. i am using adjacent matrix method

Log in to reply

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