摘要: Max SumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 120365Accepted Submission(s): 27835Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma 阅读全文
posted @ 2013-11-16 22:58 偶尔会寂寞 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Max SumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 120366Accepted Submission(s): 27835Problem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the ma 阅读全文
posted @ 2013-11-16 22:27 偶尔会寂寞 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 是包含一些C字符串的操作函数,包含一些常用的C字符串处理函数,比如strcmp、strlen、strcpy之类的函数与原来的对应。但头文件的内容在名字空间std 中。包含的是C++的string类。下面是C++头文件的现状:(1)旧的C++头文件名如 将会继续被支持,尽管它们不在官方标准中。这些头文件的内容不在名字空间std 中。新的C++头文件如 包含的基本功能和对应的旧头文件相同,但头文件的内容在名字空间std 中。(在标准化的过程中,库中有些部分的细节被修改了,所以旧头文件和新头文件中的实体不一定完全对应。)(2)标准C 头文件如 继续被支持。头文件的内容不在std 中。具有C 库功能的 阅读全文
posted @ 2013-11-16 19:30 偶尔会寂寞 阅读(514) 评论(0) 推荐(0) 编辑
摘要: Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 61357Accepted Submission(s): 22597Problem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time 阅读全文
posted @ 2013-11-16 19:24 偶尔会寂寞 阅读(233) 评论(0) 推荐(0) 编辑
摘要: function Click(){ alert('版权所有(C)2008 飞龙在天e000); window.event.returnValue=false; } document.oncontextmenu=Click; Tick and TickTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8187Accepted Submission(s): 2242Problem DescriptionThe three hands of t 阅读全文
posted @ 2013-11-16 11:17 偶尔会寂寞 阅读(341) 评论(0) 推荐(0) 编辑
摘要: How Many TablesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9933Accepted Submission(s): 4919Problem DescriptionToday is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he need 阅读全文
posted @ 2013-11-16 09:57 偶尔会寂寞 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 注释::VS2010是(Ctrl+E,C),VS2012是(Ctrl+K, Ctrl+C),实际操作,按住Ctrl键不放,先按K键,再按C键。相当于Ctrl+K加 Ctrl+C的组合键反註解:VS2010是(Ctrl+E,U),VS2012是(Ctrl+K, Ctrl+U)有人发了VS2010的快捷键,不够全,那才哪到哪呀,我来发个完整的 吧,后附VS2008的快捷键Ctrl+E,D ----格式化全部代码 Ctrl+A+K+FCtrl+E,F ----格式化选中的代码 Ctrl+K+FCTRL + SHIFT + B生成解决方案Alt+B+B或 F6生成当前项目Alt+B+U 或Shift+ 阅读全文
posted @ 2013-11-16 09:29 偶尔会寂寞 阅读(172) 评论(0) 推荐(0) 编辑