原创 Tickets (hdu-1260,簡單dp,前導0)

Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe w

原创 7的意志(數位dp)

鏈接:https://ac.nowcoder.com/acm/contest/221/G 來源:牛客網   時間限制:C/C++ 1秒,其他語言2秒 空間限制:C/C++ 32768K,其他語言65536K 64bit IO Format

原创 Doing Homework(hdu-1074,狀壓dp)

Doing Homework Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s):

原创 Codeforces Round #541 (Div. 2)

A. Sea Battle time limit per test 1 second memory limit per test 256 megabytes input standard input output standard out

原创 Super Jumping! Jumping! Jumping! (hdu-1087,最長上升子序和)

Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good b

原创 不要62(hud-2089,數位dp)

不要62 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 63209    

原创 Piggy-Bank (hdu-1114,完全揹包)

Piggy-Bank Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 378

原创 Bomb(hdu-3555,數位dp)

The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number

原创 免費餡餅 [hdu-1176](簡單dp)

都說天上不會掉餡餅,但有一天gameboy正走在回家的小徑上,忽然天上掉下大把大把的餡餅。說來gameboy的人品實在是太好了,這餡餅別處都不掉,就掉落在他身旁的10米範圍內。餡餅如果掉在了地上當然就不能吃了,所以gameboy馬上卸下身

原创 動態規劃學習

轉載自:https://www.cnblogs.com/keshuqi/p/5957740.html 動態規劃中遞推式的求解方法不是動態規劃的本質。 我曾經作爲省隊成員參加過NOI,保送之後也給學校參加NOIP的同學多次講過動態規劃,我試

原创 Catenyms (poj2337,字典序輸出歐拉路)

A catenym is a pair of words separated by a period such that the last letter of the first word is the same as the last

原创 Best Subsegment(模擬)

A. Best Subsegment time limit per test 1 second memory limit per test 256 megabytes input standard input output standar

原创 B. Emotes(模擬)

B. Emotes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output

原创 Colored Sticks (poj-2513,字典樹,歐拉圖)

You are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align

原创 C. Magic Ship(二分)

C. Magic Ship time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard ou