<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Eucalyptus]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/newxbee</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; newxbee]]></copyright><item><title><![CDATA[POJ 1050 最大连续子矩阵和]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7551351</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7551351</guid><author>newxbee</author><pubDate>Wed, 09 May 2012 19:47:37 +0800</pubDate><description><![CDATA[其实就是最大连续子段和+枚举~
参考：
http://www.cnblogs.com/fll/archive/2008/05/17/1201543.html


#include 

int a[101][101];
int input[101];
int n;
int tmp;

int go () {
	int sum=0,max=-1000000000;
	for (int i=0]]></description><category></category></item><item><title><![CDATA[POJ 3126 && HDU 1973 Prime Path （素数表 + BFS）]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7522607</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7522607</guid><author>newxbee</author><pubDate>Sun, 29 Apr 2012 17:22:49 +0800</pubDate><description><![CDATA[#include 
#include 

int ha[10001];	
int p[10001];	//0: 质数 1:合数
int ncase;
int s,e,tmp;

struct queuenode {
	int num;
	int step;
}queue[100000];

void initprime() {			//筛选法构造素数表
	memset(p,0,sizeof(p))]]></description><category></category></item><item><title><![CDATA[= =大家一起黑马忠啊]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7497998</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7497998</guid><author>newxbee</author><pubDate>Wed, 25 Apr 2012 14:49:31 +0800</pubDate><description><![CDATA[曹操挟天子令诸侯，后被躲在一旁吴国的马忠一箭射死。
刘备三顾茅庐，后被躲在一旁吴国的马忠一箭射死。
孙权率军在赤壁大破曹操，后被躲在一旁吴国的马忠一箭射死。
孙坚参与了讨伐董卓，后被躲在一旁吴国的马忠一箭射死。
孙策平定江东诸郡，后被躲在一旁吴国的马忠一箭射死。
关羽过五关斩六将，后被躲在一旁吴国的马忠一箭射死。
张飞长坂喝退曹军，后被躲在一旁吴国的马忠一箭射死。
赵云在长坂坡七进七]]></description><category></category></item><item><title><![CDATA[每日一水~ 2012-04-25 HDU 1021 HDU 1002]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7496652</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7496652</guid><author>newxbee</author><pubDate>Wed, 25 Apr 2012 10:10:30 +0800</pubDate><description><![CDATA[HDU 1021：
饿。。打表。。算出每项%3的结果即可

#import 
int a[1000001];
int main() {
	int input;
	a[0] = 7%3;
	a[1] = 11%3;
	for (int i=2; i<=1000000; ++i)
		a[i] = (a[i-1] + a[i-2])%3;
	while (~scanf("%d",&input))]]></description><category></category></item><item><title><![CDATA[每日一水~ 2012-4-24  HDU2002  HDU1004]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7495828</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7495828</guid><author>newxbee</author><pubDate>Tue, 24 Apr 2012 22:29:12 +0800</pubDate><description><![CDATA[HDU2002:#import 
#define PI 3.1415927
double r;
int main() {while (~scanf("%lf",&r)) {printf("%.3lf\n",(4.0/3.0)*PI*r*r*r);}}

HDU 1004:

#import 
#import 

int n;

struct word {
	int num;
	char w]]></description><category></category></item><item><title><![CDATA[0-1背包]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7495295</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7495295</guid><author>newxbee</author><pubDate>Tue, 24 Apr 2012 20:35:16 +0800</pubDate><description><![CDATA[关于HDU 2602 ，按照算法课上讲的写了一下
二维：

#include 
#include 

int n,c;

int v[1001];
int w[1001];
int dp[1001][1001];

int max (int a, int b) {
	return (a>b)? a:b;
}

int min(int a, int b) {
	return (a>b)? b:]]></description><category></category></item><item><title><![CDATA[【转】Perl的die、warn、eval函数]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7474312</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7474312</guid><author>newxbee</author><pubDate>Wed, 18 Apr 2012 17:11:52 +0800</pubDate><description><![CDATA[在Windows中，不能使用 or die $!.

die函数

18.4 错误处理

在很多情况下，系统调用可能会失败；例如，尝试打开不存在的文件，或者删除某个仍含有文件的目录，或者尝试读取没有读权限的文件。在前面的示例中，我们已经用到了die函数，本节将 详细讨论有关错误处理和错误处理函数的相关内容。这些函数包括die函数、warn函数和eval函数。

die函数用于在命令]]></description><category></category></item><item><title><![CDATA[Qt安装之后出现qmake命令无法找到]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7444827</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7444827</guid><author>newxbee</author><pubDate>Tue, 10 Apr 2012 12:46:51 +0800</pubDate><description><![CDATA[原文地址： http://blog.chinaunix.net/uid-26794077-id-3137142.html



如果已经正确的安装了Qt，那么不要再抱有qmake没有安装上的幻想，它真的已经在你的电脑上了，在哪里呢，到你的安装目录下，找找什么Qt啊，bin啊，你总会看到一个叫做qmake的东西，所以现在的问题就是qmake没有写到环境变量里，当然一个比较简单的方法就是把这个]]></description><category></category></item><item><title><![CDATA[在Mac系统中使用updatedb命令]]></title><link>https://blog.youkuaiyun.com/newxbee/article/details/7444791</link><guid>https://blog.youkuaiyun.com/newxbee/article/details/7444791</guid><author>newxbee</author><pubDate>Tue, 10 Apr 2012 12:37:23 +0800</pubDate><description><![CDATA[一般Uix系的系统都有Updatedb命令，用来更新文件系统的索引，在Mac上直接输入
 updatedb的话会报错，找不到该命令。

Mac其实是有同样的命令的，不过不是这样叫，而是locate.updatedb。位置在：

/usr/libexec/locate.updatedb

需要全路径地调用真有够麻烦的了。。]]></description><category></category></item></channel></rss>