上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页

2017年9月26日

摘要: In this problem, we will define a graph called star graph, and the question is to find the minimum distance between two given nodes in the star graph. 阅读全文
posted @ 2017-09-26 13:09 Annetree 阅读(369) 评论(0) 推荐(0) 编辑
 
摘要: There are nnn rectangles on the plane. The problem is to find the area of the union of these rectangles. Note that these rectangles might overlap with 阅读全文
posted @ 2017-09-26 13:05 Annetree 阅读(253) 评论(0) 推荐(0) 编辑

2017年9月25日

摘要: Let SSS be a sequence of integers s1s_{1}s​1​​, s2s_{2}s​2​​, ........., sns_{n}s​n​​ Each integer is is associated with a weight by the following rul 阅读全文
posted @ 2017-09-25 20:45 Annetree 阅读(253) 评论(0) 推荐(0) 编辑
 
摘要: You are given a list of train stations, say from the station 111 to the station 100100100. The passengers can order several tickets from one station t 阅读全文
posted @ 2017-09-25 20:40 Annetree 阅读(300) 评论(0) 推荐(0) 编辑
 
摘要: 描述 You are given a list of integers a0, a1, …, a2^k-1. You need to support two types of queries: 1. Output Minx,y∈[l,r] {ax∙ay}. 2. Let ax=y. 输入 The f 阅读全文
posted @ 2017-09-25 20:35 Annetree 阅读(179) 评论(0) 推荐(0) 编辑
 
摘要: 描述 Ming is going to travel for n days and the date of these days can be represented by n integers: 0, 1, 2, …, n-1. He plans to spend m consecutive da 阅读全文
posted @ 2017-09-25 20:29 Annetree 阅读(275) 评论(0) 推荐(0) 编辑

2017年9月16日

摘要: 大侦探福尔摩斯接到一张奇怪的字条:“我们约会吧! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm”。大侦探很快就明白了,字条上奇怪的乱码实际上就是约会的时间“星期四 14:04”,因为前面两字符串中第1对相同的大写英文字母(大小写有区分)是 阅读全文
posted @ 2017-09-16 10:44 Annetree 阅读(170) 评论(0) 推荐(0) 编辑
 
摘要: 设计函数求一元多项式的导数。(注:xn(n为整数)的一阶导数为n*xn-1。) 输入格式:以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过1000的整数)。数字间以空格分隔。 输出格式:以与输入相同的格式输出导数多项式非零项的系数和指数。数字间以空格分隔,但结尾不能有多余空格。注意“零多项 阅读全文
posted @ 2017-09-16 10:14 Annetree 阅读(179) 评论(0) 推荐(0) 编辑
 
摘要: 卡拉兹(Callatz)猜想已经在1001中给出了描述。在这个题目里,情况稍微有些复杂。 当我们验证卡拉兹猜想的时候,为了避免重复计算,可以记录下递推过程中遇到的每一个数。例如对n=3进行验证的时候,我们需要计算3、5、8、4、2、1,则当我们对n=5、8、4、2进行验证的时候,就可以直接判定卡拉兹 阅读全文
posted @ 2017-09-16 09:44 Annetree 阅读(120) 评论(0) 推荐(0) 编辑

2017年8月23日

摘要: 题目传送: Hybrid Crystals Problem Description > Kyber crystals, also called the living crystal or simply the kyber, and known as kaiburr crystals in ancie 阅读全文
posted @ 2017-08-23 16:32 Annetree 阅读(128) 评论(0) 推荐(0) 编辑
 
摘要: 题目传送:Killer Names Problem Description > Galen Marek, codenamed Starkiller, was a male Human apprentice of the Sith Lord Darth Vader. A powerful Force- 阅读全文
posted @ 2017-08-23 15:05 Annetree 阅读(146) 评论(0) 推荐(0) 编辑

2017年8月21日

摘要: Problem Description "You shall not pass!"After shouted out that,the Force Staff appered in CaoHaha's hand.As we all know,the Force Staff is a staff wi 阅读全文
posted @ 2017-08-21 13:47 Annetree 阅读(514) 评论(0) 推荐(0) 编辑
 
摘要: 题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=6152 Problem Description It is well known that small groups are not conducive of the development of a t 阅读全文
posted @ 2017-08-21 13:36 Annetree 阅读(239) 评论(2) 推荐(0) 编辑

2017年8月16日

摘要: Problem Description HazelFan is given two positive integers a,b, and he wants to calculate amodb. But now he forgets the value of b and only remember 阅读全文
posted @ 2017-08-16 10:08 Annetree 阅读(200) 评论(0) 推荐(0) 编辑

2017年8月15日

摘要: Bran and his older sister Arya are from the same house. Bran like candies so much, so Arya is going to give him some Candies. At first, Arya and Bran 阅读全文
posted @ 2017-08-15 23:27 Annetree 阅读(180) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页