How to calculate runtime in leecode

clipboard.png
read the code of Brother leecode. It is calculated that the time is a lot different from him. Dare to ask how their runtime and memory are calculated

Jun.09,2022

is to run test cases. Runtime is only the time of a single run, and the algorithm has the best, worst and ordinary situations. So if the same code is submitted twice, the runtime will be different.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2e3a3-33bc3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2e3a3-33bc3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?