Latest submission

During a contest I made a submission towards a problem which took around 0.75s to execute and gave all the correct answers. But, after a hours I thought of another solution which was faster(~0.5s) and submitted that, even though that wouldn’t make any difference. My question is which of my solutions is taken as my final submission the fastest one or the lastest one, or the first correct one?

if talking about long challenge right means right no matter how fast you do

so would my second solution be considered as my final submission? because it also gave all correct

yes

1 Like

Thanks a lot for clearing this up.

1 Like

Ranking is not based upon the execution time of your code.

1 Like