+ 3

Why is my RuntimeComparer not working??

This code should compare the runtime of the two functions, but the result is different every time you run it!! Before the last changes it worked Edit: Not that Bad anymore. https://code.sololearn.com/cq5nfcnSwU2z/?ref=app

19th Apr 2020, 12:23 PM
Alexander Thiem
Alexander Thiem - avatar
2 ответов
+ 1
michal Yeah I know but that does not interest me... In the cases Runtime is long enough it also does show different values
19th Apr 2020, 3:28 PM
Alexander Thiem
Alexander Thiem - avatar
0
Maybe the code takes too much time to execute. It sometimes doesn't show Time limit exceeded properly.
19th Apr 2020, 3:06 PM
michal