Hex to Decimal
Easy · rating 1000 · Math, Implementation
Read a hexadecimal string (digits 0-9 and letters a-f/A-F, no 0x prefix). Print its value in base 10.
Constraints: 1 ≤ length ≤ 15
Related problems
- FizzBuzz — Easy
- Parking Fee — Easy
- Seconds to HH:MM:SS — Easy
- Leap Year — Easy
- RGB to Hex Color — Easy
- Format a Video Length — Medium