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XboT/csiGgnnmJ9ZwRDQWczlm8DlhjM6GWlXOrH4VehqNDO5HvTCWoXrMGc0ZO0qlN/KqsBb5utc34JcQYz6bx358l1+A2VXJYhkjjV1We0fO9BJR7U5/3EewxpzqClgb4yDOI6ztQH29j9qMxbUsF6zGd4AWyPyM+qx4Y48VqBH1RvNsrYPWgE5drCGsrdaV6iXkzz///HVnjHk7r3gRIXEOslhGpQm6GspKTZXb1UAeWPGo2qzPGGlqX+rFK9C8iOZlVOsxnuV1a8FKLqjiq1Bnp/+Mjr/OPmLOqIZr9Mf7UY/ZOujkAM3r1vBlxC8fxnwmj/zUzOxLTUcH1cQ11mWxVVa83An7YY9xzGAONeIV4D7TQlzzdb4K6jp+Qeyx2/Ns4L/jBTnMQ001gObejfp4O34BMeaz+Ta/R4TxkRZRDaWqpUdeSZyDLAaqeAXyAftWVL0Aa0dXEuekioPdNTLywPt4jazGV4gamWa3f0cro5O3op2tzXroOu5XyfqBUU9jzNfhVS8iV3NVv+qLM+vXjc3Qmqo+5hDNZU51JXFOqjjYXSOak+UjBhDn/Qqz/iM6/sEsL9vDiq+OD+oqVU2ml9VHOh5W9mWM+T48/lMzd3LlF2GmjRi+gHVEVr+gf/z8/39ZcU4w116a/3fNv/+e/sOv+W8Pf83V50j/77xf+b/Hr3zcQ7OqJ3EdUEv57U/QGO5XBmGvlQFUI0NzI6qlfng/qiWdHIXa7BWhXrWu9XEYY8wRHn0R+SpfYqN96Bc2hxLnM/7z5z//cscVc75M6PxvXVyT/Nmc9bqu86if9Yv1M32uA6xxzOjkZLBOe3VHh1H+aA2M1shMQ4k5Wc1Ia9Zjtg46OcaY78mj/2nG7PP7X+q/+GpzY4wx3wO/iBhjjDHmMb7V3xExxhhjzLvwi4gxxhhjHsMvIsYYY4x5DL+IGGOMMeYx/CJijDHGmIf444//Ann7nHdwdQ5LAAAAAElFTkSuQmCC" alt="" />
解决代码及点评
/************************************************************************/
/*
23. 两个乒乓球队进行比赛,各出三人,甲队为A、B、C三人,乙队为X、Y 、Z三人,
已知抽签决定比赛名单。有人向队员打听比赛的名单, A说他不和 X比,C说他不和 X、Z比,
请编程序找出三对赛手的名单 */
/************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void Myswap(char * arr,int num,int num2)
{
char c=arr[num];
arr[num]=arr[num2];
arr[num2]=c;
}
//字符进行全排列,然后将排列出来的结果,根据条件剔除
void swap23(char * arr,const char *brr,int length,int n)
{
if (length==n+1)
{
bool flag=true;
for (int i=0;i<4;i++)
{ if (arr[i]=='A'&&brr[i]=='X')
{
flag=false;
break;
}
else if (arr[i]=='C'&&(brr[i]=='X'||brr[i]=='Z'))
{
flag=false;
break;
} }
if (flag==true)
{
for (int m=0;m<length;m++)
{
printf("%5c---%5C\n",arr[m],brr[m]);
}
printf("\n\n\n");
} }
else
{
for (int i=n;i<length;i++)
{
Myswap(arr,i,n);
swap23(arr,brr,length,n+1);
Myswap(arr,i,n);
}
} }
void main()
{
char arr[4]="ABC";
char brr[4]="XYZ";
swap23(arr,brr,3,0);
system("pause");
}
代码下载及其运行
代码下载链接:
http://download.csdn.net/detail/yincheng01/6641039
解压密码为c.itcast.cn
下载解压后用VS2013打开工程文件
点击 “本地Windows调试器” 执行
程序运行结果
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAAG6CAYAAAAxsD/hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACUCSURBVHhe7d0JvF1VfS/w/80kg0yhZKR9z9YiVAKRIQLKIFNQA2gdcQAcPrbWtpRBVFqt76EoVhBa27Q+kUjFoe3T5wTKGKxgU5lksNY+Xh+vJYSEMIhAQob79tpn75t9T845d0hyV27y/aZ/zt5rrb332vvcT+/PfYbb11+IhlNOOaVaAgCALeNb3/pWtdQyEEpTGO3r64tXHHtcHHnM/Jg2bXo5AAAANpfVq34Z9997Z3zhiisixdA6nJahNAXSPfaYGu876/x4JqaUHQAAsKXM3HVKXH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4G0GRRj4s48vjVf+eefQsiUMnMv8ZZvn2EWYOvvaWfGhD7SFxE20xa75pupyvlvtfAEYU9/91s3xutceG08+07rDOBZ222ly/M9v3BSvPuUV5frWNIdfPNucQ8p1zdTW0lcG1GZ7nf+KtnKTakS609nfGjkwImXF6utBd91x8By6mf78KSP78vyTT3tHzP/tt3StY09+Y7xiwevixLb2ufNeFjvsuGPHfY62pp94Shxy+51xX4e+TakV9/44ls6e1XoJeoyqPpcbR3XsR+LGi7/QuA4/ias/vyRmHfySzX4OW+qaj6yGf75bx3yVUkptFZVeSp44dlV/0GdrnENrOT2maua/tE3rpfeUMFtjW22tcdXY9K9qKP7beqzW67byZf203GkOHao2cKd0xTPtt3O3I/d8Ps76XPrTWS+Nd3/23TGn1To2NvXYj1wbn7rw61G/mj771Avj/BNmVGvboO3tfAHYJDddf1scctC+MXPm5nz9sLeHH14et9/5szj2hCPKdXNozaGbvXaaNPjl+0efWVd1AQBsG3751DPxTz+6K559dlXVsuXtuOMOcdjhL4nn79J666I59H4L56/sNHFwKF35bI/vGQUAgC1gzx0nDH5PafkmAKWUUkoppcayKgN3Sh9btfGnrwAAYEuaukNf6+X7BQsW9F+x6CtdQ+mSG75eLQEAwMidccYZ8bOHnqrWBkuh9F1nnja8ULpkSfp0OAAAjMwFF1wQe++99+YLpQsXLqxaAADYHqxatSpWrFgRkyZNiilTppR/PrQpfc9of3//oO8bTervIE3br169elihdPCeAQAgA6EUAIDshFIAALIbN6F08eLFHWt70X6+29v5AwDbtnETSo855phqqbVcrwtmAADjn5fvAQAYlYkTJ5afyk+Pm0ooHSead4bru8PNu8cAAGMpBdH0FVGHHXZY+bipwXRcfU9pp5fqh/Myfhqzqf1bC4EUABgr3b6nNAXQVPvtt19Mnz499tlnn/jc5z4X69evj3Xr1o3qe0rHZShtD6LbS0BrD86CKQCwJXUKpXUg3X///WPfffeNuXPnxp577hnPPfdcnHXWWWUwTeXL87dRzQDeHsoBAMZKCqRnnnlmvPGNb4zXv/71ceihh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AALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAALITSgEAyE4oBQAgO6EUAIDshFIAAIZt4sSJMWXKlLImT5488FhX6h8NoRQAgGFLofNlL3tZzJ07t6yDDz445s+fH2effXYsXLgwJkwYXbwUSgEAGLZ169bFrbfeWgbSI444Il772tfGe9/73jjttNPKx/Xr11cjR0YoBQBg2FIoTbVo0aKYNm1aGU5f9KIXxbx588pAmvpGQygFAKCnvr6+QZXCZ6qPfvSj5cv5++233yYF0kQoBQCgpxQ8OwXT/v7+eNWrXlU+pvX2MSMhlAIA0FMKpekDTO2hMwXRtWvXbnIgTYRSAAB6qgNpu7qtGUY7jRsOoRQAgJ463SUdTo2EUAoAQE/dQmlSP24qoRQAgJ6eeeaZUdVI9C1YsKD/ikVficdW9VdNgy254etx3HHHVWsAADAye++9d/zsoaeqtcGm7tAX7zrztKFD6b6zd6mWAABgdDY5lAIAwJZSh1LvKQUAIDuhFACA7IRSAACyE0oBAMhOKAUAILuBT98DAEAOA18JVa0DAEAGEf8fjWMOJwsjyqUAAAAASUVORK5CYII=" alt="" />
基于visual Studio2013解决C语言竞赛题之0423比赛安排的更多相关文章
- 基于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的平方根 如果在这个范围内的整数都不能整除,那么 ...
- 基于visual Studio2013解决C语言竞赛题之0407最大值最小值
题目 解决代码及点评 这道题考察循环和比较 /*********************************************************************** ...
- 基于visual Studio2013解决C语言竞赛题之0406数列求和
题目 解决代码及点评 这个题目,还是考察for循环的使用 以及数列规律,该数列的特点是第n个分子 = 第n-1个分子 + 第n-2个分子,分母也是此规律 而另外一个规律是第n个分子和第n- ...
- 基于visual Studio2013解决C语言竞赛题之0405阶乘求和
题目 解决代码及点评 这道题和上一道题类似,第n个累加项 = n-1累加项的n倍 由于有这个规律,我们可以用一个for循环实现 但是例子代码并没有这么做,大家可以回去修改下代码,使得代码更 ...
- 基于visual Studio2013解决C语言竞赛题之0404循环求和
题目 解决代码及点评 这道题考验for循环和一个简单的算法 因为每次累加的值有规律,后面一次累加是前面一次累加的两倍 所以可以用简单的循环,计算累加项和累加结果 /************ ...
随机推荐
- 【数位dp】【HDU 3555】【HDU 2089】数位DP入门题
[HDU 3555]原题直通车: 代码: // 31MS 900K 909 B G++ #include<iostream> #include<cstdio> #includ ...
- A/B(扩展欧几里德)
A/B Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submiss ...
- SharePoint 2010 用Event Receiver将文件夹自动变成approved状态 (1)
当开发一个sharepoint门户网站,或者是一个内容管理的网站的时候,站点的模板通常会选用publish portal,或者是开启了publishing feature来对内容进行版本控制和流程控制 ...
- android 安全未来怎么走
- Javascript debugger come accross error
Problem: “Unable to attach to the process. Another debugger might be attached to the process.” Solut ...
- 字符串String类
1. String类是一个密封类.用关键字sealed修饰: 2. 字符串的两个特性: ·不可变性:string类型变量,一旦声明就表明它是不会被改变的.因此,string中的方法对strin ...
- linux下操作gpio寄存器的方法
一. 在驱动中: 1. 用的时候映射端口:ioremap; #define GPIO_OFT(x) ((x) - 0x56000000) #define GPFCON (*(volatile unsi ...
- 取出js对象的所有属性的方式
例子: //取出事件的所有属性 $('#id_btn').bind("click dbclick mouseout",{crdx:'我是传的值'},function(e){ var ...
- Nginx 之一:编译安装nginx 1.8.1 及配置
一:基介绍 官网地址www.nginx.org,nginx是由1994年毕业于俄罗斯国立莫斯科鲍曼科技大学的同学为俄罗斯rambler.ru公司开发的,开发工作最早从2002年开始,第一次公开发布时间 ...
- Kettle之数据抽取、转换、装载
Kettle 官网 ETL利器Kettle实战应用解析系列 利用kettle组件导入excel文件到数据库 kettle中实现动态SQL查询 java中调用kettle转换文件