HEX to Octal

Use base eight to represent the same whole number originally written in hexadecimal.

Use base eight to represent the same whole number originally written in hexadecimal.

How to use

  1. Copy the full sample as one uninterrupted value.
  2. Run the conversion from hexadecimal to octal.
  3. Check the output against the example and confirm that each digit lies between 0 and 7.

Worked example

Input

20000000000001

Expected result

400000000000000001

Check the result

The sample’s octal representation ends in 1.

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies