Tony5t4rk的博客

Welcome to http://henuly.top

CodeForces 55D Beautiful numbers(数位dp)

文章地址:http://henuly.top/?p=882 Description: Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is ...

2018-09-26 23:34:58

阅读数:209

评论数:0

HDU 3555 Bomb(数位dp)

文章地址:http://henuly.top/?p=875 Description: The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bom...

2018-09-18 10:43:15

阅读数:249

评论数:0

HDU 6447 YJJ's Salesman(离散化+线段树+动态规划)

文章地址:http://henuly.top/?p=835 Description: YJJ is a salesman who has traveled through western country. YJJ is always on journey. Either is he at ...

2018-08-28 19:09:35

阅读数:398

评论数:0

HDU 1078 FatMouse and Cheese(dfs+记忆化搜索)

文章地址:http://henuly.top/?p=738 Description: FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: e...

2018-08-14 14:20:41

阅读数:501

评论数:0

HDU 1520 Anniversary party(树型dp)

文章地址:http://henuly.top/?p=731 Description: There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The Univ...

2018-08-12 11:31:03

阅读数:544

评论数:0

2018HPU暑期集训第二次积分赛_场外同步赛

文章地址:http://henuly.top/?p=654 又是斐波那契数列??(HPUOJ 1471) 题目: 大家都知道斐波那契数列吧?斐波那契数列的定义是这样的: f0=0f0=0f_0 = 0; f1=1f1=1f_1 = 1; fi=fi−1+fi−2fi=fi−1+fi−...

2018-07-30 14:21:57

阅读数:514

评论数:0

牛客网暑期ACM多校训练营(第三场) A PACM Team(多条件01背包)

文章地址:http://henuly.top/?p=645 题目: Eddy was a contestant participating in ACM ICPC contests. ACM is short for Algorithm, Coding, Math. Since in the ...

2018-07-27 11:20:14

阅读数:509

评论数:0

牛客网暑期ACM多校训练营(第二场) D money(dp)

题目链接:http://henuly.top/?p=593 题目: White Cloud has built n stores numbered from 1 to n. White Rabbit wants to visit these stores in the order from ...

2018-07-21 22:20:57

阅读数:527

评论数:0

牛客网暑期ACM多校训练营(第二场) A run(dp)

题目: White Cloud is exercising in the playground. White Cloud can walk 1 meters or run k meters per second. Since White Cloud is tired,it can’t run...

2018-07-21 21:42:19

阅读数:510

评论数:0

Codeforces Round #494 (Div. 3)

A. Polycarp’s Pockets 题目: Polycarp has nnn coins, the value of the iii-th coin is aiaia_i. Polycarp wants to distribute all the coins between his...

2018-07-18 20:33:30

阅读数:506

评论数:0

POJ 3046 Ant Counting(dp)

文章地址:http://henuly.top/?p=545 题目: Bessie was poking around the ant hill one day watching the ants march to and fro while gathering food. She realiz...

2018-07-17 19:35:08

阅读数:493

评论数:0

POJ 3280 Cheapest Palindrome(dp)

文章地址:http://henuly.top/?p=543 题目: Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has i...

2018-07-17 11:10:40

阅读数:494

评论数:0

POJ 2385 Apple Catching(dp)

文章地址:http://henuly.top/?p=538 题目: It is a little known fact that cows love apples. Farmer John has two apple trees (which are conveniently numbered...

2018-07-16 17:55:03

阅读数:492

评论数:0

POJ 3616 Milking Time(dp)

文章地址:http://henuly.top/?p=536 题目: Bessie is such a hard-working cow. In fact, she is so focused on maximizing her productivity that she decides to ...

2018-07-16 17:47:12

阅读数:493

评论数:0

POJ 2229 HDU 2709 Sumsets(dp)

文章地址:http://henuly.top/?p=534 题目: Farmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use o...

2018-07-16 17:37:29

阅读数:498

评论数:0

POJ 1742 Coins(dp+bitset)

文章地址:http://henuly.top/?p=531 题目: People in Silverland use coins.They have coins of value A1,A2,A3…An Silverland dollar.One day Tony opened his mon...

2018-07-16 17:23:08

阅读数:515

评论数:0

牛客练习赛22 C 简单瞎搞题(dp+bitset)

题目: 一共有 n个数,第 i 个数是 xi xi 可以取 [li,ri][li,ri][l_i , r_i] 中任意的一个值。 设S=∑xi2​S=∑xi2​S=\sum{{x_{i}}^{2}}​,求S种类数。 Input: 第一行一个数nnn。 然后n行,每行两个数表示li...

2018-07-16 16:49:56

阅读数:573

评论数:0

HDU 2084 数塔(动态规划)

题目: 在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的: 有如下所示的数塔,要求从顶层走到底层,若每一步只能走到相邻的结点,则经过的结点的数字之和最大是多少? 已经告诉你了,这是个DP的题目,你能AC吗? Input: 输入数据首先包括一个整数C,表示测试实例的...

2018-06-12 13:22:48

阅读数:497

评论数:0

ZZNUOJ 2107 : 山区修路(动态规划)

题目: SNJ位于HB省西部一片群峰耸立的高大山地,横亘于A江、B水之间,方圆数千平方公里,相传上古的神医在此搭架上山采药而得名。景区山峰均在海拔3000米以上,堪称”华中屋脊”。SNJ是以秀绿的亚高山自然风光,多样的动植物种,人与自然和谐共存为主题的森林生态区。 SNJ处于中国地势第二阶梯的...

2018-06-05 12:56:39

阅读数:899

评论数:0

Codeforces Round #486 (Div. 3)

A. Diverse Team 题目: There are n students in a school class, the ratingof the i-th student on Codehorses is ai. You have to form a team consisting...

2018-06-04 13:35:36

阅读数:516

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭