原创 入門題 _14多校—線段樹 HDU4902 Nice boat

Nice boat Time Limit: 30000/15000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s):

原创 hdu 4198 Quick out of the Harbour

 Quick out of the Harbour Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total S

原创 POJ 1742 Coins 多重揹包用單調隊列優化

 多重揹包用單調隊列優化 Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.On

原创 poj 1111 Image Perimeters

 Description Technicians in a pathology lab analyze digitized images of slides. Objects on a slide are selected for

原创 hdu 1312 Red and Black

 Red and Black Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission

原创 HDU 1241 Oil Deposits

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

原创 POJ 3356 AGTC LCS變形題

 Description Let x and y be two strings over some finite alphabet A. We would like to transform x into y allowing

原创 POJ 1080 Human Gene Functions LCS變形題

  //LCS變形題 Description It is well known that a human gene can be considered as a sequence, consisting of four nucle

原创 Codeforces Round #FF (Div. 2)A. DZY Loves Hash

 A. DZY Loves Hash time limit per test 1 second memory limit per test 256 megabytes input standard input output

原创 POJ 1154 LETTERS

 Description A single-player game is played on a rectangular board divided in R rows and C columns. There is a sing

原创 POJ 3624 Charm Bracelet 01揹包

Description Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill i

原创 POJ 3740 Easy Finding

 Description Given a M× N matrix A. Aij ∈ {0, 1} (0 ≤ i < M, 0 ≤ j < N), could you find some rows that let every

原创 Codeforces Round #FF (Div. 2)C. DZY Loves Sequences

 C. DZY Loves Sequences time limit per test 1 second memory limit per test 256 megabytes input standard input ou

原创 ZOJ 1940 Dungeon Master

 ZOJ Problem Set - 1940 Dungeon Master Time Limit: 2 Seconds      Memory Limit: 65536 KB You are trapped in a 3D

原创 Codeforces Round #FF (Div. 2)B. DZY Loves Strings

 B. DZY Loves Strings time limit per test 1 second memory limit per test 256 megabytes input standard input outp