Similar Runtime Rankings

I am a Novice Python Programmer, I want to know if there are two submissions with similar timing say 0.00 seconds, then why it happens that a Python Program will always be below than a C/C++ Program… Though I know that C/C++ has faster execution than other languages, but here time taken for execution is same 0.00

2 Likes

when execution time is same the solutions are listed in terms of memory… python takes somewhat 4M memory for simple program while C takes 1.6M and C++ takes 2.6M…thats the reason why python program is below… but that doesn’t matter :)… as long as you solve the problem in smallest time :slight_smile:

1 Like