摘要: Problem DescriptionSome of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Bec... 阅读全文
posted @ 2015-11-21 22:11 UniqueColor 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGiven a matrix with n rows and m columns ( n+m is an odd number ), at first , you begin with the number at top-left corner (1,1) an... 阅读全文
posted @ 2015-11-21 21:30 UniqueColor 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 问题描述给定长度为n的序列a,求有多少对i,j(i 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include10 #include11 #include12 #include13 #include14 #... 阅读全文
posted @ 2015-11-21 21:25 UniqueColor 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N integers and the sum of... 阅读全文
posted @ 2015-11-21 21:17 UniqueColor 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 描述There is a game which is called 24 Point game.In this game , you will be given some numbers. Your task is to find an expression which have all the g... 阅读全文
posted @ 2015-11-21 18:54 UniqueColor 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 描述今天是阴历七月初五,acm队员zb的生日。zb正在和C小加、never在武汉集训。他想给这两位兄弟买点什么庆祝生日,经过调查,zb发现C小加和never都很喜欢吃西瓜,而且一吃就是一堆的那种,zb立刻下定决心买了一堆西瓜。当他准备把西瓜送给C小加和never的时候,遇到了一个难题,never和C... 阅读全文
posted @ 2015-11-21 13:28 UniqueColor 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Problem Description呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体. Harry已经... 阅读全文
posted @ 2015-11-21 13:02 UniqueColor 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThe sky was brushed clean by the wind and the stars were cold in a black sky. What a wonderful night. You observed that, sometimes ... 阅读全文
posted @ 2015-11-21 12:23 UniqueColor 阅读(194) 评论(0) 推荐(0) 编辑