2017年8月3日
摘要: Prairie dog comes again! Someday one little prairie dog Tim wants to visit one of his friends on the farmland, but he is as lazy as hi... 阅读全文
posted @ 2017-08-03 15:31 zitian246 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 威威猫最近不务正业,每天沉迷于游戏“打地鼠”。 每当朋友们劝他别太着迷游戏,应该好好工作的时候,他总是说,我是威威猫,猫打老鼠就是我的工作! 无话可说... 我们知道,打地鼠是一款经典小游戏,规则很简单:每隔一个时间段就会从地下冒出一只或多只地... 阅读全文
posted @ 2017-08-03 15:19 zitian246 阅读(181) 评论(0) 推荐(0) 编辑
摘要: CA loves to play with sticks. One day he receives four pieces of sticks, he wants to know these sticks can spell a quadrilateral. (Wha... 阅读全文
posted @ 2017-08-03 14:57 zitian246 阅读(121) 评论(0) 推荐(0) 编辑
摘要: I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of th... 阅读全文
posted @ 2017-08-03 14:52 zitian246 阅读(94) 评论(0) 推荐(0) 编辑
  2017年7月31日
摘要: 原文链接:http://blog.csdn.net/baidu_28312631/article/details/47418773 动态规划相信大家都知道,动态规划算法也是新手在刚接触算法设计时很苦恼的问题,有时候觉得难以理解,但是真正理解之后,就会觉得动态规划... 阅读全文
posted @ 2017-07-31 09:59 zitian246 阅读(186) 评论(0) 推荐(0) 编辑
  2017年7月28日
摘要: 原文链接:http://blog.sina.com.cn/s/blog_6cf509db0100uy5n.html 参考链接:http://blog.csdn.net/ouqingliang/article/details/52171054 因为是初... 阅读全文
posted @ 2017-07-28 09:50 zitian246 阅读(211) 评论(0) 推荐(0) 编辑
  2017年7月27日
摘要: 原文链接:http://www.cnblogs.com/Booble/archive/2011/03/04/1970453.html一.网络流:流&网络&割1.网络流问题(NetWork Flow Problem):给定指定的一个有向图,其中有两个特殊的点源S(Sou... 阅读全文
posted @ 2017-07-27 19:43 zitian246 阅读(2091) 评论(0) 推荐(0) 编辑
摘要: Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the sa... 阅读全文
posted @ 2017-07-27 15:08 zitian246 阅读(118) 评论(0) 推荐(0) 编辑
摘要: HDU 2006'10 ACM contest的颁奖晚会隆重开始了! 为了活跃气氛,组织者举行了一个别开生面、奖品丰厚的抽奖活动,这个活动的具体要求是这样的: 首先,所有参加晚会的人员都将一张写有自己名字的字条放入抽奖箱中; 然后,待所有字条加入完毕,每人从箱中取一个... 阅读全文
posted @ 2017-07-27 14:51 zitian246 阅读(166) 评论(0) 推荐(0) 编辑
摘要: At the Department for Bills and Coins, an extension of today's monetary system has newly been proposed, in order to make it fit the ne... 阅读全文
posted @ 2017-07-27 14:24 zitian246 阅读(108) 评论(0) 推荐(0) 编辑