2016年7月9日

摘要: Problem Description Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two stri 阅读全文
posted @ 2016-07-09 10:28 Annetree 阅读(132) 评论(0) 推荐(0) 编辑

2016年7月7日

摘要: Problem Description 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input 前20行的第i行有3个数,表示与第i个城市相邻的3个城市.第20行以后每行有1个数m,m<=20,m>=1.m=0退出. Ou 阅读全文
posted @ 2016-07-07 00:26 Annetree 阅读(151) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description 推箱子是一个很经典的游戏.今天我们来玩一个简单版本.在一个M*N的房间里有一个箱子和一个搬运工,搬运工的工作就是把箱子推到指定的位置,注意,搬运工只能推箱子而不能拉箱子,因此如果箱子被推到一个角上(如图2)那么箱子就不能再被移动了,如果箱子被推到一面墙上,那么 阅读全文
posted @ 2016-07-07 00:24 Annetree 阅读(781) 评论(0) 推荐(0) 编辑

2016年7月5日

摘要: Problem Description Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each repres 阅读全文
posted @ 2016-07-05 20:45 Annetree 阅读(167) 评论(0) 推荐(0) 编辑

2016年7月4日

摘要: Problem Description A DFS(digital factorial sum) number is found by summing the factorial of every digit of a positive integer. For example ,consider 阅读全文
posted @ 2016-07-04 21:59 Annetree 阅读(133) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large re 阅读全文
posted @ 2016-07-04 21:54 Annetree 阅读(130) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black til 阅读全文
posted @ 2016-07-04 21:52 Annetree 阅读(123) 评论(0) 推荐(0) 编辑

2016年7月3日

摘要: Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, an 阅读全文
posted @ 2016-07-03 23:02 Annetree 阅读(157) 评论(0) 推荐(0) 编辑
 
摘要: 描述As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in 阅读全文
posted @ 2016-07-03 22:56 Annetree 阅读(147) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description A simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations o 阅读全文
posted @ 2016-07-03 22:52 Annetree 阅读(120) 评论(0) 推荐(0) 编辑
 
摘要: Description It is said that 90% of frosh expect to be above average in their class. You are to provide a reality check. Input The first line of standa 阅读全文
posted @ 2016-07-03 22:47 Annetree 阅读(203) 评论(0) 推荐(0) 编辑

2016年5月25日

摘要: Problem Description We all love recursion! Don't we?Consider a three-parameter recursive function w(a, b, c):if a <= 0 or b <= 0 or c <= 0, then w(a, 阅读全文
posted @ 2016-05-25 09:21 Annetree 阅读(172) 评论(0) 推荐(0) 编辑

2016年5月22日

摘要: (谢绝任何形式转载) 早上醒来,一看闹钟才5:45,就再也睡不着了,很兴奋。 之前参加省赛是抱学长大腿,没有那么兴奋,而这次是真的要靠我们自己实力,更激动一些。 到了杭电,作为财经学校的女生,觉得杭电的男生真是热情温柔.....(财经男女比例3:7) 同样都是L,省赛的衣服大小和女生赛的简直就是相差 阅读全文
posted @ 2016-05-22 23:13 Annetree 阅读(1146) 评论(0) 推荐(0) 编辑

2016年5月19日

摘要: Problem Description Long time ago , Kitty lived in a small village. The air was fresh and the scenery was very beautiful. The only thing that troubled 阅读全文
posted @ 2016-05-19 22:13 Annetree 阅读(242) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline 阅读全文
posted @ 2016-05-19 17:44 Annetree 阅读(149) 评论(0) 推荐(0) 编辑