Problem 3871 · Medium

Count Commas in Range II

Count the total commas used when writing every integer from 1 to n with standard thousands grouping.

Open the interactive visualisation