Tap here to switch tabs
Problem
Submissions

Problem: Remove 9

med
30 min
Try to solve the Remove 9 problem.

Statement

Given an integer n, consider a list of positive integers starting from 11 where all integers containing the digit 99 are removed.

Return the n-th integer in this list.

Constraints:

  • 1≤1 \leq n ≤8imes108\leq 8 imes 10^8

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Remove 9

med
30 min
Try to solve the Remove 9 problem.

Statement

Given an integer n, consider a list of positive integers starting from 11 where all integers containing the digit 99 are removed.

Return the n-th integer in this list.

Constraints:

  • 1≤1 \leq n ≤8imes108\leq 8 imes 10^8