摘要: Red and Black Time Limit: 1000MSMemory Limit: 32768KB64bit IO Format: %I64d & %I64u Submit Status Description There is a rectangular room, covered wit 阅读全文
posted @ 2016-02-24 17:02 十禾。 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 严重急性呼吸系统综合症( SARS), 一种原因不明的非典型性肺炎,从2003年3月中旬开始被认为是全球威胁。为了减少传播给别人的机会, 最好的策略是隔离可能的患者。 在Not-Spreading-Your-Sickness大学( NSYSU), 有许多学生团体。同一组的学生经常彼此相通,一个学生可 阅读全文
posted @ 2016-02-24 16:59 十禾。 阅读(147) 评论(0) 推荐(0) 编辑
摘要: A Bug's Life Time Limit: 10000MSMemory Limit: 65536KB64bit IO Format: %I64d & %I64u Submit Status Description Background Professor Hopper is researchi 阅读全文
posted @ 2016-02-24 16:56 十禾。 阅读(195) 评论(0) 推荐(0) 编辑
摘要: You are given two polynomials: P(x) = a0·xn + a1·xn - 1 + ... + an - 1·x + an and Q(x) = b0·xm + b1·xm - 1 + ... + bm - 1·x + bm. Calculate limit . Yo 阅读全文
posted @ 2016-02-16 13:42 十禾。 阅读(266) 评论(0) 推荐(0) 编辑
摘要: A children's puzzle that was popular 30 years ago consisted of a 5x5 frame which contained 24 small squares of equal size. A unique letter of the alph 阅读全文
posted @ 2016-02-03 11:22 十禾。 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodwork 阅读全文
posted @ 2016-02-03 09:22 十禾。 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 小明玩一个数字游戏,取个n行n列数字矩阵(其中n为不超过100的奇数),数字的填补方法为:在矩阵中心从1开始以逆时针方向绕行,逐圈扩大,直到n行n列填满数字,请输出该n行n列正方形矩阵以及其的对角线数字之和. 题目描述 Description 小明玩一个数字游戏,取 阅读全文
posted @ 2016-01-29 21:21 十禾。 阅读(161) 评论(0) 推荐(0) 编辑