原创 POJ 3126 Prime Path DFS

Prime Path Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 10352   Accepted: 5913 Description The min

原创 POJ 2661 Factstone Benchmark 數學題

Factstone Benchmark Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3446   Accepted: 1779 Description

原创 HDOJ 3032 Nim or not Nim Lasker's Nim遊戲

Nim or not Nim? Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(

原创 POJ 2309 BST 二叉樹性質 位運算

BST Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8155   Accepted: 4920 Description Consider an in

原创 POJ 2234 Matches Game NIM曲石子游戲

Matches Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8143   Accepted: 4695 Description Here

原创 HDOJ 2509 Be the Winner 博弈論

Be the Winner Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s)

原创 POJ 2499 Binary Tree 遞推 貪心

Binary Tree Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5755   Accepted: 2670 Description Backgro

原创 POJ 2255 Tree Recovery 二叉樹基礎

Tree Recovery Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 10353   Accepted: 6513 Description Litt

原创 POJ 3253 Fence Repair 堆 哈夫曼樹

Fence Repair Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 22678   Accepted: 7227 Description Farm

原创 POJ 1270 Following Orders 拓撲排序

Following Orders Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 3467   Accepted: 1349 Description Or

原创 itoa函數用法

itoa函數 #include<cstdlib>#include<cstdio>int main() { int num = 10; char str[100]; itoa(num, str, 2); printf("%s\n"

原创 UVA 401 Palindromes 字符串

Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example,

原创 HDOJ 2147 kiki's game 博弈

kiki's game Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 40000/1000 K (Java/Others) Total Submission(s): 5

原创 POJ 1067 取石子游戲 威佐夫博奕

取石子游戲 Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 33003   Accepted: 10968 Description 有兩堆石子,數量任意

原创 HDOJ 1010 Tempter of the Bone DFS 奇偶優化

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