2018年12月29日

HDU 1097 A hard puzzle(快速幂)

摘要: Problem Description lcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT prob 阅读全文

posted @ 2018-12-29 20:49 甜甜圈不懂巧克力的苦 阅读(111) 评论(0) 推荐(0) 编辑

HDU 1016 Prime Ring Problem(dfs)

摘要: Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of nu 阅读全文

posted @ 2018-12-29 19:29 甜甜圈不懂巧克力的苦 阅读(101) 评论(0) 推荐(0) 编辑

HDU 1010 Tempter of the Bone(dfs)

摘要: Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, an 阅读全文

posted @ 2018-12-29 18:51 甜甜圈不懂巧克力的苦 阅读(91) 评论(0) 推荐(0) 编辑

HDU 1003 Max Sum (dp)

摘要: Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7 阅读全文

posted @ 2018-12-29 18:20 甜甜圈不懂巧克力的苦 阅读(110) 评论(0) 推荐(0) 编辑

HDU 1002 A + B Problem II(大数据)

摘要: Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line 阅读全文

posted @ 2018-12-29 16:43 甜甜圈不懂巧克力的苦 阅读(212) 评论(0) 推荐(0) 编辑

导航