<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[he_fa的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/he_fa</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; he_fa]]></copyright><item><title><![CDATA[linux下的Boost.Regex的编译和使用方法]]></title><link>https://blog.csdn.net/he_fa/article/details/31790837</link><guid>https://blog.csdn.net/he_fa/article/details/31790837</guid><author>he_fa</author><pubDate>Tue, 17 Jun 2014 18:07:27 +0800</pubDate><description><![CDATA[1.在官网上下载boost软件包]]></description><category></category></item><item><title><![CDATA[ubuntu下编译安装boost库 （改写部分细节版）]]></title><link>https://blog.csdn.net/he_fa/article/details/30031051</link><guid>https://blog.csdn.net/he_fa/article/details/30031051</guid><author>he_fa</author><pubDate>Wed, 11 Jun 2014 10:02:27 +0800</pubDate><description><![CDATA[原文改写链接http://www.cnblogs.com/longcpp/archive/2012/06/06/2538251.html]]></description><category></category></item><item><title><![CDATA[生产者-消费者问题实现 (linux下C语言)]]></title><link>https://blog.csdn.net/he_fa/article/details/19125681</link><guid>https://blog.csdn.net/he_fa/article/details/19125681</guid><author>he_fa</author><pubDate>Wed, 12 Feb 2014 17:43:45 +0800</pubDate><description><![CDATA[操作系统的一个经典问题是"生产者-消费者"问题, 这涉及同步信号量和互斥信号量的应用, 在这里,我用线程的同步和互斥来实现.
/*
* author 张文
* 2008/06/20
*/
#include 
#include 
#include 
#include 
#include 
#define N 1   // 消费者或者生产者的数目
#define M 10 // 缓冲数目
int i]]></description><category></category></item><item><title><![CDATA[Unix下C语言用于记录日志的方法(自定义)]]></title><link>https://blog.csdn.net/he_fa/article/details/10824935</link><guid>https://blog.csdn.net/he_fa/article/details/10824935</guid><author>he_fa</author><pubDate>Sun, 01 Sep 2013 14:39:24 +0800</pubDate><description><![CDATA[#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
/*
 * 此程序用于记录日志，运行环境为linux，线程安全，单个日志文件的最大字节数为LOGMAXSIZE字节。
 * MyLog1.log存储较新的日志，MyLog2.log存储MyLog1.log前面的日志（大小]]></description><category></category></item><item><title><![CDATA[使用gdal对图像重采样再按指定格式输出]]></title><link>https://blog.csdn.net/he_fa/article/details/9840119</link><guid>https://blog.csdn.net/he_fa/article/details/9840119</guid><author>he_fa</author><pubDate>Thu, 08 Aug 2013 18:21:11 +0800</pubDate><description><![CDATA[/*使用gdal将图像进行重采样，然后按照指定的格式输出
 * 运行此程序需要安装gdal，目前知道可以处理.tif、.img。生成.jpeg图像
 * 生成.so命令：g++ -fpic -shared -o libxxx.so main.cpp -lgdal
 * main.cpp
 *
 *  Created on: 2013-1-15
 *      Author: he_fa
 */
#]]></description><category></category></item><item><title><![CDATA[poj 1664 放苹果]]></title><link>https://blog.csdn.net/he_fa/article/details/9566937</link><guid>https://blog.csdn.net/he_fa/article/details/9566937</guid><author>he_fa</author><pubDate>Sun, 28 Jul 2013 15:34:53 +0800</pubDate><description><![CDATA[放苹果





Time Limit: 1000MS
 
Memory Limit: 10000K


Total Submissions: 23698
 
Accepted: 15043




Description
把M个同样的苹果放在N个同样的盘子里，允许有的盘子空着不放，问共有多少种不同的分法？（用K表示）5，1，1和1，5，1 是同一种分法。]]></description><category></category></item><item><title><![CDATA[查询出第一条距当前时间10s之内的记录的sql语句]]></title><link>https://blog.csdn.net/he_fa/article/details/9564691</link><guid>https://blog.csdn.net/he_fa/article/details/9564691</guid><author>he_fa</author><pubDate>Sun, 28 Jul 2013 10:26:25 +0800</pubDate><description><![CDATA[表名：table1，表中有两个子段1：IP， 2：currentTime， 两个子段都是String类型。currentTime的格式为java中的：yyyy-MM-dd HH:mm:ss。目标：select下table1，将符合条件的第一条记录的IP取出来，条件是：拿当前系统时间减去表中currentTime时间的值小于10秒
sql语句为："select IP from amc_dispat]]></description><category></category></item><item><title><![CDATA[poj 1118 Lining Up (暴力)]]></title><link>https://blog.csdn.net/he_fa/article/details/9500243</link><guid>https://blog.csdn.net/he_fa/article/details/9500243</guid><author>he_fa</author><pubDate>Fri, 26 Jul 2013 20:45:08 +0800</pubDate><description><![CDATA[Lining Up





Time Limit: 2000MS
 
Memory Limit: 32768K


Total Submissions: 20910
 
Accepted: 6569




Description
"How am I ever going to solve this problem?" said the pilot.

]]></description><category></category></item><item><title><![CDATA[poj 1050To the Max dp+暴力]]></title><link>https://blog.csdn.net/he_fa/article/details/9418151</link><guid>https://blog.csdn.net/he_fa/article/details/9418151</guid><author>he_fa</author><pubDate>Tue, 23 Jul 2013 09:52:01 +0800</pubDate><description><![CDATA[To the Max





Time Limit: 1000MS
 
Memory Limit: 10000K


Total Submissions: 36633
 
Accepted: 19268




Description
Given a two-dimensional array of positive and negative integer]]></description><category></category></item><item><title><![CDATA[poj 3280 Cheapest Palindrome（不简单）]]></title><link>https://blog.csdn.net/he_fa/article/details/9400023</link><guid>https://blog.csdn.net/he_fa/article/details/9400023</guid><author>he_fa</author><pubDate>Sun, 21 Jul 2013 19:27:01 +0800</pubDate><description><![CDATA[Cheapest Palindrome





Time Limit: 2000MS
 
Memory Limit: 65536K


Total Submissions: 4539
 
Accepted: 2209




Description

Keeping track of all the cows can be a tricky task so]]></description><category></category></item><item><title><![CDATA[poj 1159 Palindrome]]></title><link>https://blog.csdn.net/he_fa/article/details/9395921</link><guid>https://blog.csdn.net/he_fa/article/details/9395921</guid><author>he_fa</author><pubDate>Sun, 21 Jul 2013 09:14:13 +0800</pubDate><description><![CDATA[Palindrome





Time Limit: 3000MS
 
Memory Limit: 65536K


Total Submissions: 47427
 
Accepted: 16253




Description
A palindrome is a symmetrical string, that is, a string read i]]></description><category></category></item><item><title><![CDATA[亲亲串(dp)]]></title><link>https://blog.csdn.net/he_fa/article/details/9389915</link><guid>https://blog.csdn.net/he_fa/article/details/9389915</guid><author>he_fa</author><pubDate>Sat, 20 Jul 2013 12:33:22 +0800</pubDate><description><![CDATA[亲亲串
时间限制：1000 ms  |  内存限制：65535 KB
难度：3


描述
如果有一个字符串，它的前半段等于它后半段，例如 abcabc，我们就叫这种字符串为“亲亲串”。
现在给你一个字符串(仅有大小写字母组成)，可以在任意的位置添加任意个字符，使这个字符串成为一个“亲亲串”，最少需要添加多少个字符？

输入第一行是一个整数N（0
接下来有N行，每行有一个字符串，]]></description><category></category></item><item><title><![CDATA[linux c 重命名文件和文件夹]]></title><link>https://blog.csdn.net/he_fa/article/details/9373175</link><guid>https://blog.csdn.net/he_fa/article/details/9373175</guid><author>he_fa</author><pubDate>Thu, 18 Jul 2013 21:33:52 +0800</pubDate><description><![CDATA[转自：http://blog.sina.com.cn/s/blog_a04184c101010kuk.html
功能: 给一个文件重命名
　　用 法: int rename(char *oldname, char *newname);
　　头文件：#include 
　　说明：用该函数可以实现文件移动功能，把一个文件的完整路径的盘符改一下就实现了这个文件的移动。具体参见下面的程序示例说明。]]></description><category></category></item><item><title><![CDATA[Unix下c调用shell打印指定程序的pid]]></title><link>https://blog.csdn.net/he_fa/article/details/9359575</link><guid>https://blog.csdn.net/he_fa/article/details/9359575</guid><author>he_fa</author><pubDate>Wed, 17 Jul 2013 19:51:55 +0800</pubDate><description><![CDATA[如下程序的功能是打印名为test的程序的pid。]]></description><category></category></item><item><title><![CDATA[rhel/CentOS中查找是否安装指定包的命令和删除指定包的命令]]></title><link>https://blog.csdn.net/he_fa/article/details/9343199</link><guid>https://blog.csdn.net/he_fa/article/details/9343199</guid><author>he_fa</author><pubDate>Tue, 16 Jul 2013 15:20:06 +0800</pubDate><description><![CDATA[例：查看电脑中安装了哪些包括“compat”串的包
[timesten@lxredhat ~]$ rpm -q -a | grep compat
rarian-compat-0.8.1-5.1.el6.x86_64
compat-libstdc++-33-3.2.3-47.3.i386
compat-gcc-34-3.4.6-19.el6.x86_64
geronimo-specs-compat]]></description><category></category></item><item><title><![CDATA[poj快算24 暴力]]></title><link>https://blog.csdn.net/he_fa/article/details/9117989</link><guid>https://blog.csdn.net/he_fa/article/details/9117989</guid><author>he_fa</author><pubDate>Tue, 18 Jun 2013 10:30:02 +0800</pubDate><description><![CDATA[快算24
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 4028 Accepted: 2445

Description
给定4个不大于10的正整数（范围1－10），要求在不改变数据先后顺序的情况下，采用加减乘除四种运算，找到一个表达式，使得最后的结果是24。

Input
4个不大于10的正整数。输入数据保证]]></description><category></category></item><item><title><![CDATA[poj1221简单的动态规划]]></title><link>https://blog.csdn.net/he_fa/article/details/9080451</link><guid>https://blog.csdn.net/he_fa/article/details/9080451</guid><author>he_fa</author><pubDate>Wed, 12 Jun 2013 20:12:40 +0800</pubDate><description><![CDATA[UNIMODAL PALINDROMIC DECOMPOSITIONS





Time Limit: 1000MS
 
Memory Limit: 65536K


Total Submissions: 4503
 
Accepted: 2211




Description
A sequence of positive integers is Pali]]></description><category></category></item></channel></rss>