#include<stdio.h>
int main() {
int n=10,c,t,m,i,j,k;
char str[100];
void qiandao0(char str[]);
void shuangmao(char str[]);
scanf("%d",&t);
while(t--) {
scanf("%s",&str);
qiandao0(str);
// printf("%s\n",&str);
shuangmao(str);
printf("%s\n" ,str);
}
return 0;
}
void qiandao0(char str[]) {
int i,j;
//qiandao0
for(i=0,j=0; str[j]!='\0'; i++,j++) {
if(str[j]==&#
1407 用两种方法对IPV6地址进行压缩的c程序实现
最新推荐文章于 2024-07-19 15:07:10 发布
本文介绍了如何使用C语言实现对IPv6地址的压缩,通过两种不同的方法,详细探讨了IPv6地址的压缩原理和代码实现过程。
摘要由CSDN通过智能技术生成