Tap here to switch tabs
Problem
Submissions

Problem: Remove Zeros in Decimal Representation

Try to solve the Remove Zeros in Decimal Representation problem.

Statement

Given a positive integer n, remove all occurrences of the digit 00 from its decimal representation and return the resulting integer.

Constraints:

  • 1≤1 \leq n ≤1015\leq 10^{15}

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Remove Zeros in Decimal Representation

Try to solve the Remove Zeros in Decimal Representation problem.

Statement

Given a positive integer n, remove all occurrences of the digit 00 from its decimal representation and return the resulting integer.

Constraints:

  • 1≤1 \leq n ≤1015\leq 10^{15}