HDU 1711 Number Sequence(kmp)
HDU 1711 Number Sequence(kmp) Problem Description Given two sequences of numb
HDU 3336 Count the string(kmp)
HDU 3336 Count the string(kmp) Problem Description It is well known that Aekd
POJ 2096 Collecting Bugs 概率dp(水
POJ 2096 Collecting Bugs 概率dp(水 題目鏈接:點擊打開鏈接 題意: 點擊打開鏈接 對於這裡的dp做法是: 寫一個狀態x,然後把
POJ 2186 Popular Cows(強連通)
POJ 2186 Popular Cows(強連通) POJ 2186 Popular Cows 題目鏈接 題意:一個奶牛,之間有互相仰慕的關系,如果
Codeforces Round #274 (Div. 2)
Codeforces Round #274 (Div. 2) A. Expression time limit per test 1 second
Codeforces Round #274 (Div. 2) 解題報告
Codeforces Round #274 (Div. 2) 解題報告 這次自己又只能做出4道題來。 A題:Expression 水題。 枚舉
POJ 2375 Cow Ski Area(強連通)
POJ 2375 Cow Ski Area(強連通) POJ 2375 Cow Ski Area 題目鏈接 題意:給定一個滑雪場,每個點能向周圍4個點
POJ 1657 Distance on Chessboard
POJ 1657 Distance on Chessboard 中文題。 【分析】:這題思路建立其實應該主要在對象的操作上,如何求出象走的步數是關鍵,其他的
poj 3253 Fence Repair (優先隊列)
poj 3253 Fence Repair (優先隊列) ///優先隊列,每次取兩個最小的木板的長度,再把這個長度放進隊列,反復取 # include #
uva 10047 - The Monocycle bfs
uva 10047 - The Monocycle bfs 題目鏈接 A monocycle is a cycle that runs on one w