原创 HDU1561 The more, The Better 樹形dp

題目鏈接 The more, The Better Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Sub

原创 HDU 2196 Computer 樹形dp

題目鏈接 Computer Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s):

原创 HDU3586 Information Disturbing 樹形dp+二分

題目鏈接 Information Disturbing Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others) Total

原创 Multiplication Table

B. Multiplication Table time limit per test 2 seconds memory limit per test 256 megabytes input standard input output s

原创 Cards

A. Cards time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output

原创 弱智錯誤記錄

非bool型定義成了bool型 9月17號 1次 對double類型memset了16進制 9月18號 1次

原创 POJ3565Ants

Ants Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 8345   Accepted: 2651   Special Judge Description You

原创 POJ2446Chessboard

Chessboard Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 21308   Accepted: 6683 Description Alice and Bo

原创 POJ3020

http://poj.org/problem?id=3020                                                                      Antenna Placement T

原创 POJ3041 Asteroids

http://poj.org/problem?id=3041                                                                                       As

原创 數據結構作業(第二章 線性表,鏈表)

由於本蒟蒻水平有限,對於出現的錯誤請各位大佬聯繫我糾正,謝謝! 另外不要原封不動的照抄,讓我被Ban以後就不更了,哼哼! 還有這本數據結構明明寫的是c語言,卻用&不用*,&是C++的引用,請大家自行查閱。 1. 設順序表 a 中的數據元素

原创 HDU2255奔小康賺大錢

http://acm.hdu.edu.cn/showproblem.php?pid=2255 奔小康賺大錢 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/327

原创 POJ1274The Perfect Stall

http://poj.org/problem?id=1274 The Perfect Stall Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 30516   A

原创 HDU2422 The Accomodation of Students

 http://acm.hdu.edu.cn/showproblem.php?pid=2444 有些人互相認識,但認識不具有傳遞性,比如A認識B,B認識C,不代表A認識C。給出所有認識關係,問能不能分成兩個班,每個班裏的人互相不認識。如果

原创 HDU2063 過火車

http://acm.hdu.edu.cn/showproblem.php?pid=2063 最大匹配裸題。 二分的講解在我的另一篇博客中。 #include <cstdio> #include <cmath> #include <io