Store IPV6 address into integers
发布于 2022-03-03 17:21:29
Input a hexadecimal IPV6 address, store it into 4 integers and output them.
输入描述: The input data contains 8 groups of colon-separated numbers(letters are uppercase), each group has 4 numbers(leading 0 can be omitted or not), all in hexadecimal.输入样例: 0:001:000:02:0000:A:FFFF:FFFF 输出描述: The output contains 4 integers(without leading zeros) separated by spaces.输出样例 1 2 10 -1关注者
0
被浏览
24