Cody

Problem 45246. Count digits

Count total number of digits from 1 to n.

  • n=13
  • output=17

since from [1-9] total 9 digits.[10-13] total 4*2=8 digits.

Solution Stats

48.19% Correct | 51.81% Incorrect
Last Solution submitted on Jun 24, 2020

Problem Comments

Problem Recent Solvers40

Suggested Problems

More from this Author145

Problem Tags