摘要: 描述 Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first tw 阅读全文
posted @ 2018-06-30 15:11 TobicYAL 阅读(359) 评论(0) 推荐(0)
摘要: 描述 Consider an arbitrary sequence of integers. One can place + or - operators between integers in the sequence, thus deriving different arithmetical e 阅读全文
posted @ 2018-06-30 15:08 TobicYAL 阅读(211) 评论(0) 推荐(0)
摘要: 描述 一个圆形花圃被分为k个扇形区域(0,1,…,k-1)。有两只小鼹鼠A,B分别位于其中的两个区域。鼹鼠从一个扇形区域移动到相邻的区域需要1分钟。已知A鼹鼠总是沿顺时针方向移动(序号增大),B鼹鼠总是沿逆时针方向移动(序号减小),两只鼹鼠都是每隔一段时间钻出地面一次。请你求出两只鼹鼠第一次同时在同 阅读全文
posted @ 2018-06-30 15:03 TobicYAL 阅读(513) 评论(0) 推荐(0)
摘要: 描述 A message from humans to extraterrestrial intelligence was sent through the Arecibo radio telescope in Puerto Rico on the afternoon of Saturday Nov 阅读全文
posted @ 2018-06-30 15:00 TobicYAL 阅读(309) 评论(0) 推荐(0)
摘要: 描述 北大信息学院的同学小明毕业之后打算创业开餐馆.现在共有n 个地点可供选择。小明打算从中选择合适的位置开设一些餐馆。这 n 个地点排列在同一条直线上。我们用一个整数序列m1, m2, ... mn 来表示他们的相对位置。由于地段关系,开餐馆的利润会有所不同。我们用pi 表示在mi 处开餐馆的利润 阅读全文
posted @ 2018-06-30 14:55 TobicYAL 阅读(502) 评论(0) 推荐(0)
摘要: 描述 BackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world. 阅读全文
posted @ 2018-06-30 14:52 TobicYAL 阅读(262) 评论(0) 推荐(0)