随笔分类 - 动态规划
摘要:E. Intellectual Inquiry 题目连接: http://www.codeforces.com/contest/655/problem/E Description After getting kicked out of her reporting job for not knowin
阅读全文
摘要:D. Mysterious Present 题目连接: http://www.codeforces.com/contest/4/problem/D Description Peter decided to wish happy birthday to his friend from Australi
阅读全文
摘要:B. Before an Exam 题目连接: http://www.codeforces.com/contest/4/problem/B Description Tomorrow Peter has a Biology exam. He does not like this subject muc
阅读全文
摘要:Annoying problem 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5293 Description Coco has a tree, whose vertices are conveniently labeled by 1,2,…,n.
阅读全文
摘要:King's Order 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5642 Description After the king's speech , everyone is encouraged. But the war is not ove
阅读全文
摘要:B. The least round way 题目连接: http://www.codeforces.com/contest/2/problem/B Description There is a square matrix n × n, consisting of non negative inte
阅读全文
摘要:D. Zip line 题目连接: http://www.codeforces.com/contest/650/problem/D Description Vasya has decided to build a zip line on trees of a nearby forest. He wa
阅读全文
摘要:A. Joysticks 题目连接: http://www.codeforces.com/contest/651/problem/A Description Friends are going to play console. They have two joysticks and only one
阅读全文
摘要:Preorder Test 题目连接: http://www.codeforces.com/contest/627/problem/D Description For his computer science class, Jacob builds a model tree with sticks
阅读全文
摘要:772002画马尾 题目连接: http://acm.uestc.edu.cn/ /problem/show/1280 Description 众所周知772002很喜欢马尾,所以他决定画几幅马尾送给他的女朋友。 772002会画m种马尾,772002还有n张纸,n张纸分别编号1到n,每张纸上只能画
阅读全文
摘要:E. Thief in a Shop 题目连接: http://www.codeforces.com/contest/632/problem/E Description A thief made his way to a shop. As usual he has his lucky knapsac
阅读全文
摘要:D. Longest Subsequence 题目连接: http://www.codeforces.com/contest/632/problem/D Description You are given array a with n elements and the number m. Consi
阅读全文
摘要:C. Spy Syndrome 2 题目连接: http://www.codeforces.com/contest/633/problem/C Description After observing the results of Spy Syndrome, Yash realised the err
阅读全文
摘要:E. Famil Door and Roads 题目连接: http://www.codeforces.com/contest/629/problem/E Description Famil Door’s City map looks like a tree (undirected connecte
阅读全文
摘要:D. Babaei and Birthday Cake 题目连接: http://www.codeforces.com/contest/629/problem/D Description As you know, every birthday party has a cake! This time,
阅读全文
摘要:C. Famil Door and Brackets 题目连接: http://www.codeforces.com/contest/629/problem/C Description As Famil Door’s birthday is coming, some of his friends (
阅读全文
摘要:D. Magic Numbers 题目连接: http://www.codeforces.com/contest/628/problem/D Description Consider the decimal presentation of an integer. Let's call a numbe
阅读全文
摘要:D. Wizards and Roads 题目连接: http://www.codeforces.com/contest/167/problem/D Description In some country live wizards. They love to build cities and roa
阅读全文
摘要:E. Wizards and Bets 题目连接: http://www.codeforces.com/contest/167/problem/E Description In some country live wizards. They like to make weird bets. Two
阅读全文
摘要:Flight Boarding Optimization 题目连接: http://codeforces.com/gym/100269/attachments Description Peter is an executive boarding manager in Byteland airport
阅读全文