原创 思維 POJ-1323

Game Prediction Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 10745 Accepted: 5189 Description Suppos

原创 DFS深搜 + 奇偶剪枝 HDU-1010

Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submissio

原创 數論(多個數gcd) CodeForces757B Bash's Big Day

B. Bash's Big Day time limit per test 2 seconds memory limit per test 512 megabytes input standard input output

原创 Bfs廣搜 HDU - 2612

Find a way Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 126

原创 DP(最長上升子序列) HDU-1087

Super Jumping! Jumping! Jumping! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) T

原创 母函數詳解及模板

在數學中,某個序列的母函數(Generating function,又稱生成函數)是一種形式冪級數,其每一項的係數可以提供關於這個序列的信息。使用母函數解決問題的方法稱爲母函數方法。 母函數可分爲很多種,包括普通母函數、指數母函數、L

原创 BFS + 回溯路徑 POJ - 3984 迷宮問題

迷宮問題 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 19199 Accepted: 11317 Description 定義一個二維數組: int m

原创 記憶化搜索 HDU-1078

FatMouse and Cheese Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submissio

原创 線段樹+離散化 POJ-2528 Mayor's posters

Mayor's posters Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 62932   Accepted: 18163 Description The

原创 三維BFS POJ - 2251 Dungeon Master

Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 30504 Accepted: 11842 Description You a

原创 尺取 POJ - 3320 Jessica's Reading Problem

Jessica's Reading Problem Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11660 Accepted: 3955 Descript

原创 思維(二分思想遞歸)CodeForces - 768B Code For 1

B. Code For 1 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output s

原创 母函數 初步刷題

Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total

原创 數論(快速冪) HDU-5690 All X

All X Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1672   

原创 (打表找循環節)CodeForces - 768C Jon Snow and his Favourite Number

C. Jon Snow and his Favourite Number time limit per test 4 seconds memory limit per test 256 megabytes input s