原创 Lawnmower

http://codeforces.com/problemset/problem/115/B B. Lawnmower time limit per test 2 seconds memory limit per t

原创 CodeForce 614B Gena's Code 巧用字符串

B. Gena's Code time limit per test 0.5 seconds memory limit per test 256 megabytes input standard input output

原创 二分問題

轉自:勇幸|Thinking (http://www.ahathinking.com)  面試常讓寫二分查找或其擴展的程序,以前總覺得很簡單,但是真動手寫起來,細節很多,容易出錯的地方也很多,真是秒殺眼高手低的利器,本節就二分查找

原创 Palindrome subsequence(區間dp)

http://acm.hdu.edu.cn/showproblem.php?pid=4632 Palindrome subsequence Time Limit: 2000/1000 MS (Java/Others)    Memor

原创 Codeforce 614A Link/Cut Tree 水題

A. Link/Cut Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output

原创 入門基礎之二分查找

入門基礎之二分查找 Time Limit:1000MS Memory Limit:65536KB Total Submit:95 Accepted:28 Page View:196Submit Status Discuss D

原创 開門人和關門人(基礎字符串)

http://acm.hdu.edu.cn/showproblem.php?pid=1234 開門人和關門人 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/

原创 Making Sequences is Fun(簡單枚舉)

http://codeforces.com/problemset/problem/373/B B. Making Sequences is Fun time limit per test 2 seconds memo

原创 CodeForce 616A Comparing Two Long Integers 字符串比較

A. Comparing Two Long Integers time limit per test 2 seconds memory limit per test 256 megabytes input stan

原创 18歲生日

http://acm.hdu.edu.cn/showproblem.php?pid=1201 18歲生日 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32

原创 BestCoder Baby Ming and Weight lifting 枚舉

Baby Ming and Weight lifting    Accepts: 86    Submissions: 1474  Time Limit: 2000/1000 MS (Java/Others)    Memory L

原创 I NEED A OFFER! 動態規劃 01 揹包

http://acm.hdu.edu.cn/showproblem.php?pid=1203 I NEED A OFFER! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit

原创 簡單矩陣 數據個數的計數

A. Collecting Beats is Fun time limit per test 1 second memory limit per test 256 megabytes input st

原创 qj的招待會

http://acdream.info/problem?pid=1209 qj的招待會 Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java

原创 圓有點擠

http://acdream.info/problem?pid=1098 圓有點擠 Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/O