<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[w_chendong的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/w_chendong</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; w_chendong]]></copyright><item><title><![CDATA[基于C++的简单24点小游戏]]></title><link>https://blog.youkuaiyun.com/w_chendong/article/details/70147355</link><guid>https://blog.youkuaiyun.com/w_chendong/article/details/70147355</guid><author>w_chendong</author><pubDate>Wed, 12 Apr 2017 20:49:20 +0800</pubDate><description><![CDATA[#include   
#include   
#include  
using namespace std;
int select = 1;  
const double LING = 1E-6;  
const int CONT = 4;  
const int VOLUE = 24;  
double number[CONT];  
string expression[CONT];  
bo]]></description><category></category></item><item><title><![CDATA[关于两个数的最大公约数的问题]]></title><link>https://blog.youkuaiyun.com/w_chendong/article/details/64932113</link><guid>https://blog.youkuaiyun.com/w_chendong/article/details/64932113</guid><author>w_chendong</author><pubDate>Wed, 22 Mar 2017 20:55:23 +0800</pubDate><description><![CDATA[求两个数的最大公约数的有关算法如下：(1)辗转相除法
两整数a和b：
① a%b得余数c
② 若c=0，则b即为两数的最大公约数，结束
③ 若c≠0，则a=b，b=c，再回去执行①
(2)相减法
两整数a和b：
① 若a>b，则a=a-b
② 若a<b，则b=b-a
③ 若a=b，则a（或b）即为两数的最大公约数，结束
④ 若a≠b，则再回去执行①
(3)穷举法：
① i=]]></description><category></category></item><item><title><![CDATA[关于“三天打渔两天晒网”的算法问题]]></title><link>https://blog.youkuaiyun.com/w_chendong/article/details/62230352</link><guid>https://blog.youkuaiyun.com/w_chendong/article/details/62230352</guid><author>w_chendong</author><pubDate>Wed, 15 Mar 2017 16:59:07 +0800</pubDate><description><![CDATA[中国有句俗语叫“三天打鱼两天晒网”。某人从2010年1月1日起开始“三天打鱼两天晒网”，问这个人在以后的某一天中是“打鱼”还是“晒网”。用C或C++语言实现程序解决问题。]]></description><category></category></item></channel></rss>