原创 HDU 5763 Another Meaning (DP)

Another Meaning Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s)

原创 HDU 3339 In Action (dijkskra+01揹包)

New~ 歡迎參加2016多校聯合訓練的同學們~ In Action Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)

原创 POJ Evil Straw Warts Live (貪心)

Evil Straw Warts Live Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 850 Accepted: 239 Description A

原创 CSU 1116: Kingdoms(狀態壓縮+DP)

Kingdoms Time Limit: 3 Sec  Memory Limit: 64 MBSubmit: 410  Solved: 127 [Submit][Status][Web Board] Description A kin

原创 POJ 2441 Arrange the Bulls(狀態壓縮DP入門)

- Arrange the BullsTime Limit:4000MS    Memory Limit:65536KB    64bit IO Format:%lld & %llu SubmitStatus Descriptio

原创 HDU 5532 Almost Sorted Array (dp)

Almost Sorted Array Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Submiss

原创 HDU 1712 ACboy needs your help (簡單分組揹包)

ACboy needs your help Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submiss

原创 HDU 5418 Victor and World(狀壓dp、floy最短路)

Victor and WorldTime Limit:2000MS    Memory Limit:131072KB    64bit IO For

原创 HDU 5410 CRB and His Birthday(01揹包+完全揹包)

CRB and His BirthdayTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64u SubmitStatusPracticeHDU

原创 POJ 25456 Aggressive cows 【二分最大化最小值】

Aggressive cowsTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%lld & %llu SubmitStatus Description F

原创 HDU 3664 Permutation Counting (DP)

Permutation Counting Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submissi

原创 Codeforces 543A. Writing Code DP

Writing CodeTime Limit:3000MS    Memory Limit:262144KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces

原创 數列上的分治(求逆序數)

在網上看,逆序數可以有線段樹解決,我不太清楚,不過最近我在學習如何用分治處理逆序數問題。 大家看看代碼吧,看完估計就懂了(如果還不懂去看下分治排序,逆序數問題是在其基礎之上的) <span style="font-size:18px;"

原创 HDU 3234 Exclusive-OR(加權並差集)

Exclusive-OR Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3

原创 HDU 1421 搬寢室(DP)

搬寢室 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 25567    A