填空题

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
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看