Is there something wrong with the runtime of python programs?

I have been using leetcode for a while, but today I find something unusual! Whatever program I submit, I always get an extremely slow runtime, which only beats less than 10%.

At first, I thought maybe I wrote it incorrectly, but even if I simply copied the sampled fastest code and submitted, I still got such bad runtime results. I even tried several different questions, but all gave me the same frustrating feedbacks.

Here are some screenshots: you can see that I submit the same code as the sampled 50ms code, but get a very slow result
image
image
image

Comments (0)