I exist sometimes

Given a list of integers 1n1\cdots n, return the count of the number that have the number kk in them. For n109n\leq10^{9} how many numbers have the number 77 in them.

Details and Assumptions

For n10n\leq10, the number of occurrence of 77 is one.

For n100n\leq100 the number of occurrence of 77 is 1919...7,17,27,37,47,57,67,70,71,79,87,977,17,27,37,47,57,67,70,71\cdots ,79,87,97

×

Problem Loading...

Note Loading...

Set Loading...