上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 45 下一页

2011年1月28日

摘要: http://poj.org/problem?id=2661Factstone BenchmarkTime Limit:1000MSMemory Limit:65536KDescriptionAmtel has announced that it will release a 128-bit computer chip by 2010, a 256-bit computer by 2020, and so on, continuing its strategy of doubling the word-size every ten years. (Amtel released a 64-bit 阅读全文
posted @ 2011-01-28 11:08 yming0221 阅读(184) 评论(0) 推荐(0)

2011年1月26日

摘要: 1、我诅咒你一辈子买方便面没有调料包! 2、别跟我谈感情,多伤钱啊! 3、女子无才便是德,我想我一定是太缺德了。 4、收银员说没零钱了,找你两个塑料袋吧! 5、虽然你身上喷了古龙水, 但我还是能隐约闻到一股人渣味儿 。 6、我这辈子只有两件事不会,就是这也不会那也不会。 7、我想我是太久没吃鸡肉了...不然为什么昨天看见鸡毛掸子---居然有点激动? 8、抽,是一种生活艺术;找抽,是一种生活态度。 9、我的人生有A面也有B面你的人生有S面也有B面。10、妈妈问我有女(男)朋友了么,我说没有,妈妈说:这个可以有。 我说:这个真没有..._ 11、最近又胖了,打电话时一笑,脸蛋就碰能到挂机键。 12 阅读全文
posted @ 2011-01-26 11:49 yming0221 阅读(150) 评论(0) 推荐(0)

2011年1月25日

摘要: http://poj.org/problem?id=2552Assistance RequiredTime Limit:1000MSMemory Limit:65536KDescriptionAfter the 1997/1998 Southwestern European Regional Contest (which was held in Ulm) a large contest party took place. The organization team invented a special mode of choosing those participants that were 阅读全文
posted @ 2011-01-25 20:14 yming0221 阅读(326) 评论(0) 推荐(0)

2011年1月24日

摘要: http://poj.org/problem?id=2560本题跟其他题差不多,只不过节点的权重需要自己计算FrecklesTime Limit:1000MSMemory Limit:65536KDescriptionIn an episode of the Dick Van Dyke show, little Richie connects the freckles on his Dad's back to form a picture of the Liberty Bell. Alas, one of the freckles turns out to be a scar, so 阅读全文
posted @ 2011-01-24 20:45 yming0221 阅读(162) 评论(0) 推荐(0)
摘要: Linux下的原型声明NAME memset - fill memory with a constant byteSYNOPSIS #include <string.h> void *memset(void *s, int c, size_t n);DESCRIPTION The memset() function fills the first n bytes of the memory area pointed to by s with the constant byte c.RETURN VALUE The memset() function returns a ... 阅读全文
posted @ 2011-01-24 11:47 yming0221 阅读(240) 评论(1) 推荐(0)
摘要: http://poj.org/problem?id=2533Longest Ordered SubsequenceTime Limit:2000MSMemory Limit:65536KDescriptionA numeric sequence ofaiis ordered ifa1<a2< ... <aN. Let the subsequence of the given numeric sequence (a1,a2, ...,aN) be any sequence (ai1,ai2, ...,aiK), where 1 <=i1<i2< ... < 阅读全文
posted @ 2011-01-24 10:41 yming0221 阅读(95) 评论(0) 推荐(0)

2011年1月23日

摘要: http://poj.org/problem?id=3615题意:找一条路径,使得这条路径上最大的两节点权值在所有可能路径中最短,并求出这个值实际上就是Floyd算法,只不过这里不是求的最短路径长度,而是路径上两相邻节点之间的最大距离Cow HurdlesTime Limit:1000MSMemory Limit:65536KDescriptionFarmer John wants the cows to prepare for the county jumping competition, so Bessie and the gang are practicing jumping over 阅读全文
posted @ 2011-01-23 23:54 yming0221 阅读(179) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3132题意就是要求一个数可以分解成指定数个素数的和的种数方法是参考网上的大牛的做法,学习了!Sum of Different PrimesTime Limit:5000MSMemory Limit:65536KDescriptionA positive integer may be expressed as a sum of different prime numbers (primes), in one way or another. Given two positive integersnandk, you should count t 阅读全文
posted @ 2011-01-23 19:19 yming0221 阅读(157) 评论(0) 推荐(0)

2011年1月22日

摘要: http://poj.org/problem?id=3191The Moronic CowmpouterTime Limit:1000MSMemory Limit:65536KDescriptionInexperienced in the digital arts, the cows tried to build a calculating engine (yes, it's a cowmpouter) using binary numbers (base 2) but instead built one based on base negative 2! They were quit 阅读全文
posted @ 2011-01-22 21:20 yming0221 阅读(219) 评论(0) 推荐(0)
摘要: ln命令 该命令在文件之间创建链接。这种操作实际上是给系统中已有的某个文件指定另外一个可用于访问它的名称。对于这个新的文件名,我们可以为之指定不同的访问权限,以控制对信息的共享和安全性的问题。 如果链接指向目录,用户就可以利用该链接直接进入被链接的目录而不用打一大堆的路径名。而且,即使我们删除这个链接,也不会破坏原来的目录。 语法:ln [选项] 目标 [链接名] ln [选项] 目标 目录 链接有两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。建立硬链接时,链接文件和被链接文件必须位于同一个文件系统中,并且不能建立指向目录的硬链接。而... 阅读全文
posted @ 2011-01-22 20:30 yming0221 阅读(191) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 45 下一页

导航