点点滴滴”

导航

2014年8月20日 #

B - Big String

摘要: We will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). Repeat the followi... 阅读全文

posted @ 2014-08-20 14:52 点点滴滴” 阅读(162) 评论(0) 推荐(0) 编辑

E - Evaluate Matrix Sum

摘要: DescriptionGiven a matrix, the elements of which are all integer number from 0 to 50, you are required to evaluate the square sum of its specified sub... 阅读全文

posted @ 2014-08-20 13:03 点点滴滴” 阅读(229) 评论(0) 推荐(0) 编辑

I - Dividing Stones

摘要: DescriptionThere are N stones, which can be divided into some piles arbitrarily. Let the value of each division be equal to the product of the number ... 阅读全文

posted @ 2014-08-20 12:32 点点滴滴” 阅读(172) 评论(0) 推荐(0) 编辑

F - Cookies Piles

摘要: DescriptionThe kids in my son's kindergarten made Christmas cookies with their teacher, and piled them up in columns. They then arranged the columns s... 阅读全文

posted @ 2014-08-20 11:19 点点滴滴” 阅读(192) 评论(0) 推荐(0) 编辑

G - Christmas Play

摘要: DescriptionMy kid's kindergarten class is putting up a Christmas play. (I hope he gets the lead role.) The kids are all excited, but the teacher has a... 阅读全文

posted @ 2014-08-20 10:22 点点滴滴” 阅读(173) 评论(0) 推荐(0) 编辑

A - Playground

摘要: My kid's school cleared a large field on their property recently to convert it into a playing area. The field is polygonal. The school administration ... 阅读全文

posted @ 2014-08-20 10:14 点点滴滴” 阅读(242) 评论(0) 推荐(0) 编辑