基于visual Studio2013解决C语言竞赛题之0810链表去重
题目
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiEAAAAwCAYAAADHAqqQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAx0SURBVHhe7Z2Ljty4DkQ398eDfPneLSAFFAokRdnqdnfCAxCW+ChS7ozXmExmf/z7H/8MwzAMwzC8mf/9vg7DMAzDMLyVeQkZhmEYhuER5iVkGIZhGIZHmJeQYRiGYRgeYV5ChmEYhmF4hI97Cfnx48fv1Zqd3FN0empOlP/EGd+tk+W98uxXznilZoVqRvpZT/hXdpJKb6fX6bkiTs2acfIMV7WyupOzgUqv2+v0TF12+16dM6u7c+4rtahZmaO+VXzFTq6yU/fV3wnBvy6+epPexTfMOMTgc6PtoJ+5f/5YV/8qHrHMhj342bkNMbg3+HPWuUfdvOE+/gzwfQVyPv1zevvvCfEbsrpJbx6vBHNy3mounoc5WheheV2q/hFd7dW5eI5OHtcrMq2qNqq50quaNZvrKtor4m58F9fTfbcX8ipOzXtl1si/k3sVaK3QXuytdYxr7MR8Ppv3IZ1+p2bqwn47fZG7Ijq31jF+pb/iddpD8ZydPaAu/cyh39G8Lj5DF58VlC8hHN5h06K0RaSvPo+zb4e7sznRLFGPzE9WcWc3P+IVGpmm+qOcnVlO5/psyp05iWt20B6d+t2ZIqI+0NUzd85f5XTqd+DM0XxZr8if1WUau6x6RjBe1a40dnCtTLvT8+RcFd2ZlShnVcd4VbvSUJAbsepBsnrF86vZVnGnkx/ldH0gfAlBMqmEMtEOrNVeGVd7nCI75+75Nb/SXHGl5x3dalb3e58onvVxurl38rLanTnJbs2VHqfQ3lzjmqFzMo81fobIdxWdza8Z7J3laDxaXyXTWGkz7nnuX+l0qHo4nZ4nZlqR9ah6X6kBjHue+1c6juZXGu7b3VdoblYH/wqvi7S6PrD1nZAd4RXpQOK/qn0Sn6GzJ/BzzzVzvS6jm7di1Tvr4/7Vnqgf6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qgFU/UOWv0FrQmU9RfzZbFue+qsMV6Bp4/oqoxzAM53ns/x0zDMMwDMPfzV/zg6nDMAzDMHwW8xIyDMMwDMMjzEvIMAzDMAyPMC8hwzAMwzA8wD///B8SntEVPSy4AwAAAABJRU5ErkJggg==" alt="" />
解决代码及点评
/************************************************************************/
/*
10. 建立一个链表,每个结点包括:学号、姓名、性别、年龄。输入一个年龄,
如果链表中的结点所包含的年龄等于此年龄,将此结点删除,输出最后的链表。 */
/************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h> typedef struct student STU;
struct student // 保存学生信息的节点结构体
{
int num;
char name[10];
int age;
int sex;
struct student * next;
};
STU * Init10() // 初始化链表
{
STU * p=(STU *)malloc(sizeof(STU)); // 初始化链表时,创建了一个头节点,该节点信息无意义
if (p==NULL) // 如果内存申请失败,则
{
return NULL;
}
else
p->next=NULL;
return p; // 返回创建的头结点
}
void Insert10(STU * head,int num,int aeg,int sex,char * name) // 将新学生信息插入链表
{ STU * last=head;
if (last==NULL)
{
return;
}
while(last->next!=NULL) // 找到最后一个节点
last=last->next;
STU *p=(STU *)malloc(sizeof(STU)); // 申请新节点空间
if (p==NULL)
{
return;
}
else
{
p->num=num; // 初始化新节点
strcpy_s(p->name,name);
p->age=aeg;
p->sex=sex;
last->next=p; // 把新节点保存在链表最后
p->next=NULL; }
}
void DeleteNode10(STU* pre,STU *cur)
{
pre->next=cur->next; // 删除cur节点,pre是cur的前置节点
free(cur);
}
void printfNodes10(STU *head) // 该函数遍历所有node,进行打印输出
{
STU *p=head->next;
while(p!=NULL)
{
printf("%5d",p->age);
p=p->next;
}
printf("\n");
}
void main()
{ int num;
scanf_s("%d",&num); // 输入
STU * A=Init10(); // 初始化链表,并插入一堆数据
Insert10(A,1,12,1,"abc");
Insert10(A,2,13,0,"abc");
Insert10(A,3,14,1,"abc");
Insert10(A,3,14,0,"abc");
Insert10(A,4,15,1,"abc");
printfNodes10(A);
STU * index=A->next;
STU * flower=A;
while(index!=NULL) // 遍历所有节点
{
if (index->age==num) // 如果节点的年纪是指定需要删除的年纪
{
DeleteNode10(flower,index); // 删除该节点
index=flower->next; // 继续遍历
}
else
{
index=index->next; // 只是继续遍历
flower=flower->next;
} }
printfNodes10(A); // 输出新的链表
system("pause");
}
代码编译以及运行
由于资源上传太多,资源频道经常被锁定无法上传资源,同学们可以打开VS2013自己创建工程,步骤如下:
1)新建工程
2)选择工程
3)创建完工程如下图:
4)增加文件,右键点击项目
5)在弹出菜单里做以下选择
6)添加文件
7)拷贝代码与运行
程序运行结果
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAAG6CAYAAAAxsD/hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACUvSURBVHhe7d0JvB5lfS/w/8lmWKKAJSut19YqlC1skUXWAEENLnXFDVyut972qizFrVrvh4piFaW1pYtoilr1tlftVcGyBivYVGTHWi23l9smhIRFjEASkpzOM+/Mybxv3vc9S5LznCTf7/HPO/PMM/M8M8OH83POed8z8KOfPjgYDe85723VEgAAbB+XXPrZaqllKJSmMDowMBAnn7Iwjj9pUcycOavsAAAA28q6tb+Ie+++LT53xRUxODg4FE7LUJoC6d577xO//a4L44mYVm4AAIDtZc7Tp8XFF30oHn30kTKYlqH0vef/1/jA7380nhh4WtUNAAC2rzkzpsaF5/+P+Ngn/zIGzjzzzMFjjjk+jj3jN6vNAAAwPlb+5Pb40peubIXS37/oD+PxwanVJgAAGB/7//LMeNubX9cKpZ/9/F/Hj/9jdbUJAADGx/777VuG0knVegwopZRSSik1zlUbelL6k+UPVU0AADA+njvvl9p/fP/TFQ9XmwAAYHz8+txntofSf33gkWoTAMDO4fE1j8dP/uXf4tFH11Qt29/ee8+I5z7v2bHHjD3KdXNozaGX58zZZ3Sh9Lq/+3K1NDq/+ryD47889zdi0qShX18FABgXt/zDbTH/kF+LmbOeWbVsf6sefDjuuOu+OPb4w8t1c2jNoZctQul9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SRx6+f8yZM34/P3zggVVx620/jlNOO7ZcN4fWHHrZd/cp7T++f+iJjdUmAICdwy/WPBH/+P3b48kn11Yt299uu02Po485LPac0frVRXPo/yucv7T75PZQ+vCTfT5nFAAAtoNn7jap/XdKy18CUEoppZRSajyrMvSk9JG1W777CgAAtqd9pg+0fny/ePHiwSuWfLlnKF123deqJQAAGL2zzz47frx8TbXWLoXSt55z1shC6bJl6d3hAAAwOu9///tjv/3223ah9PLLL69aAADYFaxduzZWr14dU6ZMiWnTppV/PrQpfc7o4OBg2+eNJvVnkKb9161bN6JQ2n5kAADIQCgFACA7oRQAgOzGFEqXLl1aLbVL7c0CAICRGHUo7RdIk5NOOqmsRDAFAGAkRhxKPf0EAKBp8uTJ5bvy0+vWGnEobT4B7Wa47QAA7DxSEE0fEXX00UeXr1sbTLfLG52aP8oHAGDnkgJoqgMOOCCmT58eb3/727c6mG7zUCqQAgDsvOpAetBBB8WBBx4Yp556ahx22GFx2WWXbVUw3aahVCAFANi5pdB5zjnnxKtf/ep45StfGUcddVQZTo855pi46aabtvirTyO1zUJpZyBN63UbAAA7h40bN8aSJUviQx/6ULz2ta+NRYsWxQknnBALFiyIE088MTZt2lT1HJ0Rh9LOkNkrdPZqBwBgx5dC6fr168t66qmnhl7rStvHYmDx4sWDVyz5cjyydrBqarfsuq/FsmXL4vLLL69aAADYFaxduzZWr14dU6ZMKT/6qfNH8wMDAzE4OFi+NqX1VGn/devWxX777Rc/Xr6m2tpun+kD8dZzzto+774HAIDREEoBAMhOKAUAIDuhFACA7LzRCQCArtIble6+++64//774+GHH65aN+v1Rqe99tornvOc55RvcBrpG52EUgAAukqh9Fvf+lb59+332WefqjXKIJqk7eljSQcHN5Vt9cdF/exnj8V99/00jj/++B373fe9Pue0/gzU3J+FuqPOrynnHHfE+dXz6SwA2Nmlj4SqA2kKnhs2bIynNmwowudT8cQTa+Pxxx+PNb94PB57bE2sfujh+Pf/WFH+1aeVD64s9xmpCRdKe32jr9vTX4xq/tWo8bajz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ACMzVaHUgAA2F7qUOp3SgEAyE4oBQAgO6EUAIDshFIAALITSgEAyG7o3fcAAJDD0EdCVesAAJBBxH8CiE7aWh1XNpYAAAAASUVORK5CYII=" alt="" />
基于visual Studio2013解决C语言竞赛题之0810链表去重的更多相关文章
- 基于visual Studio2013解决C语言竞赛题之0809链表排序
题目
- 基于visual Studio2013解决C语言竞赛题之1092链表转换
题目 解决代码及点评 /************************************************************************/ /* ...
- 基于visual Studio2013解决C语言竞赛题之1069链表查找删除
题目 解决代码及点评 /* 功能:建立一个链表,每个结点包括:学号.姓名.性别.年龄.输入一个年龄,如果链表中的结点所包含的年龄等于此年龄, 将此结点删除,输出最后的链表. 时 ...
- 基于visual Studio2013解决C语言竞赛题之1071打印工资
题目 解决代码及点评 /************************************************************************/ /* ...
- 基于visual Studio2013解决C语言竞赛题之0401阶乘
题目 解决代码及点评 这个是一道经典的教科书题目,基本上每本基础的c/c++语言教科书都会有这个题目 用来演示循环语句 #include <stdio.h> #include ...
- 基于visual Studio2013解决C语言竞赛题之0205位数求和
题目
- 基于visual Studio2013解决C语言竞赛题之0201温度转换
题目 解决代码及点评 #include <stdio.h> #include <stdlib.h> void main() { float f; float c; float ...
- 基于visual Studio2013解决C语言竞赛题之0409 100以内素数
题目 解决代码及点评 在已经知道素数是怎么判断的基础上,增加循环,可以判断出100以内的素数 /******************************************* ...
- 基于visual Studio2013解决C语言竞赛题之0408素数
题目 解决代码及点评 判断一个数是不是素数的方法,一般是看n是不是能被n以内的某个整数(1除外)整除 为了提高效率,这个整数范围一般缩小到n的平方根 如果在这个范围内的整数都不能整除,那么 ...
随机推荐
- Ubuntu 15.04 安装rmagick 2.15.4
apt-get install pkg-config, libmagick-dev,libmagickcore-dev, libmagickwand-dev, gem install rmagick
- Setting property 'source' to 'org.eclipse.jst.jee.server [问题点数:40分]
链接地址:http://bbs.csdn.net/topics/390131469 警告: [SetContextPropertiesRule]{Context} Setting property ' ...
- Collection类学习笔记
binarySearch原理: public static index halfSearch(List<String> list, String key) { int max,min,mi ...
- PHPExcel 生成图形报表
db.php为数据库操作类, $config为数据库配置,PHPExcel版本为PHPExcel_1.8.0, PHP代码: $dir = dirname(__FILE__); require $d ...
- windows apache 配置多个服务 站点 Apache Service Monitor
把Apache安装为多个Window NT服务 ~~~ 可以在 services.msc中查看到1. 在DOS下跳到Apache安装目录里的bin目录(~~~或者用path命令 把apache的安装目 ...
- Linux内存分析
Linux命令----分析内存的瓶颈 为了提高磁盘存取效率, Linux做了一些精心的设计, 除了对dentry进行缓存(用于VFS,加速文件路径名到inode的转换), 还采取了两种主要Cac ...
- gcc/g++ 如何支持c11 / c++11标准编译
如果用命令 g++ -g -Wall main.cpp 编译以下代码 : /* file : main.cpp */ #include <stdio.h> int main() { in ...
- C# 基础知识 (三).主子对话框数值传递
在C# winform编程中,我们经常会遇到不同窗口间需要传递数值的问题.比如数据库的应用,主窗口填写内容num1,点击按钮,在弹出的子窗口显示对应num1值;或者在子窗口填写新注册用户名信息,在主窗 ...
- Phonegap-----Media
Everything in the code: <!DOCTYPE html> <html> <head> <title>Media Example&l ...
- Python基础 3----文件和网络
1 Python文件IO 1 标转的输入和输出 print 方法:输出数据到标准的输出 raw_input 方法:标准的输入 2 file文件类 读文件 f = file(文件名, 模式) 有5种模式 ...