上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 45 下一页

2011年1月7日

摘要: 原手册下载:http://www.codeblocks.org/docs/manual_en.pdf 译者:JGood(http://blog.csdn.net/Jgood) 译者言:工欲善其事,必先利其器。一个好的工具能事半功倍。写程序时,特别是写C++程序,大部分人脑子里想到的第一个工具就是VisualStudio。不可否认,VS很好很强大,用户体验非常好。但VisualStudio也是有缺点的:它非常庞大;只支持VC,不支持其他的编译器;VS只能在windows下跑,在其他os上就无用武之地;VS是要钱的,而且费用不非(Express版本免费)。Code::Blocks是一个非常优秀的工 阅读全文
posted @ 2011-01-07 15:19 yming0221 阅读(386) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=1595加深理解下面求素数的方法素数筛法是这样的:1.开一个大的bool型数组prime[],大小就是n+1就可以了.先把所有的下标为奇数的标为true,下标为偶数的标为false.2.然后: for(i=3;i<=tmp;i++) { if(prime[i]) { for(j=i+i;j<=MAXN;j+=i) prime[j]=false; } } prime[1]=true; prime[2]=true; 3.最后输出bool数组中的值为true的单元的下标,就是所求的n以内的素数了。原理很简单,就是当i是质(素)数... 阅读全文
posted @ 2011-01-07 15:10 yming0221 阅读(157) 评论(0) 推荐(0)

2011年1月6日

摘要: http://poj.org/problem?id=3051Satellite PhotographsTime Limit:1000MSMemory Limit:65536KDescriptionFarmer John purchased satellite photos of W x H pixels of his farm (1 <= W <= 80, 1 <= H <= 1000) and wishes to determine the largest 'contiguous' (connected) pasture. Pastures are c 阅读全文
posted @ 2011-01-06 14:07 yming0221 阅读(138) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3032提交的时候正赶上系统故障,全是Runtime Error!!!一看Online Status,原来全是RT,POJ出故障了!!!!Card TrickTime Limit:1000MSMemory Limit:65536KDescriptionThe magician shuffles a small pack of cards, holds it face down and performs the following procedure:The top card is moved to the bottom of the pack 阅读全文
posted @ 2011-01-06 13:20 yming0221 阅读(165) 评论(0) 推荐(0)

2011年1月5日

摘要: http://poj.org/problem?id=2250最长公共子序列LCS 动态规划DPCompromiseTime Limit:1000MS Memory Limit:65536KSpecial JudgeDescriptionIn a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, and this is not a trivial task for the countr 阅读全文
posted @ 2011-01-05 14:32 yming0221 阅读(128) 评论(0) 推荐(0)

2011年1月4日

摘要: http://poj.org/problem?id=3183Stump RemovalTime Limit:1000MSMemory Limit:65536KDescriptionAlways thinking of the cows' grazing experience, FJ has found that he must remove N (1 <= N <= 50,000) unsightly stumps from the pasture. The stumps are conveniently arranged in a straight line and nu 阅读全文
posted @ 2011-01-04 22:00 yming0221 阅读(160) 评论(0) 推荐(0)

2011年1月1日

摘要: 1.最强大的“免费电子书”下载区——新浪电子书共享http://ishare.iask.sina.com.cn/(数十万册哦,全是免费滴!)2.性能很好的免费网络硬盘——云盘网(10G免费超大空间哦,支持共享,可加密文件)http://www.diskes.com/3.爱酷美剧(一边看美剧,一边学英语,不耽误啊!)http://www.icoolen.com/film4.传说中“天涯第一镇山神贴”!!!(先说明白了。机子配置低的不要点开。会死机的。镇山贴可不是开玩笑的,配置低的,直接卡死在外面,配置高的,那就笑死在里面)http://www.tianya.cn/publicforum/cont 阅读全文
posted @ 2011-01-01 20:51 yming0221 阅读(515) 评论(0) 推荐(0)

2010年12月31日

摘要: 功能强大的编辑器——Vi相信Vi是什么就不用我多介绍了,这个工具从Unix诞生以来一直是终端下的标准编辑器。几乎每个Unix或类Unix操作系统都提供了Vi。Vim是Vi Improved的缩写,功能比起Vi来说有了很大的扩展。这里用的是Vi iMproved 6.3。在Vi 中移动光标 k 上h l 左 右 j 下^ 移动到该行第一个非空格的字符处w 向前移动一个单词,将符号或标点当作单词处理W 向前移动一个单词,不把符号或标点当作单词处理b 向后移动一个单词,把符号或标点当作单词处理B ... 阅读全文
posted @ 2010-12-31 13:28 yming0221 阅读(186) 评论(0) 推荐(0)
摘要: vi编辑器是所有Unix及Linux系统下标准的编辑器,它的强大不逊色于任何最新的文本编辑器,这里只是简单地介绍一下它的用法和一小部分指令。由于对Unix及Linux系统的任何版本,vi编辑器是完全相同的,因此您可以在其他任何介绍vi的地方进一步了解它。Vi也是Linux中最基本的文本编辑器,学会它后,您将在Linux的世界里畅行无阻。1、vi的基本概念 基本上vi可以分为三种状态,分别是命令模式(command mode)、插入模式(Insert mode)和底行模式(last line mode),各模式的功能区分如下:1) 命令行模式command mode) 控制屏幕光标的移动,字.. 阅读全文
posted @ 2010-12-31 13:13 yming0221 阅读(178) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3157Java vs C++Time Limit:2000MSMemory Limit:65536KDescriptionApologists of Java and C++ can argue for hours proving each other that their programming language is the best one. Java people will tell that their programs are clearer and less prone to errors, while C++ people 阅读全文
posted @ 2010-12-31 08:50 yming0221 阅读(164) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 45 下一页

导航