Discussion About Tavas and SaDDas

This is Discussion thread about Tavas and SaDDas

hello sir i am not able to understand the question plz can you elaborate… more

The problem is little confusing there is one typo in problem the input range is 1 to 10^9 (inclusive).
You were ask to print the index of magic number. suppose the input is 77.
then this number will come in at 6th index since the increasing order will look something like 4,7, 44, 47, 74, 77. likewise you have the print the index of given input.
think of it like someone ask you to print the index of a number N in Fibonacci series. :slight_smile: