Help me in solving TIMEMCQ7 problem

My issue

explain it please

Learning course: Time complexity using C++
Problem Link: CodeChef: Practical coding for everyone

@maxso
The correct answer is O(logn).
Because we are incrementing the loop like i=i*2