#P261. 【例43.2】 IP地址
【例43.2】 IP地址
Description
When storing IP addresses in a database, for example, requires 11 characters. However, if we convert each segment to hexadecimal and combine them, it becomes , which only takes 8 characters.
This way, we can reduce the space occupied by the database.
Input Format
A single line containing a valid IP address (four numbers not exceeding 255, separated by three dots).
Output Format
For each test case, output a single line containing the hexadecimal string in lowercase letters.
Sample
192.168.0.1c0a80001