(hdu step 1.3.5)Fighting for HDU(排序)
(hdu step 1.3.5)Fighting for HDU(排序) 題目: Fighting for HDUTime Limit: 300
HDU 4738 Caocao's Bridges(求價值最小的橋)
HDU 4738 Caocao's Bridges(求價值最小的橋) Problem Description Caocao was def
UVA 11695 Flight Planning 修改一條邊使得樹的直徑最短
UVA 11695 Flight Planning 修改一條邊使得樹的直徑最短 題目鏈接:點擊打開鏈接 題意: 給定n(n<=2500) 節點的一棵樹 刪除
POJ 2752 Seek the Name, Seek the Fame kmp失配函數next應用
POJ 2752 Seek the Name, Seek the Fame kmp失配函數next應用 點擊打開鏈接 Seek the N
【KMP】Number Sequence,kmpnumbersequence
【KMP】Number Sequence,kmpnumbersequenceKMP算法 KMP的基處題目,數字數組的KMP算法應用。 主要是模式串的處理,當模式
一個無鎖消息隊列引發的血案(六)——RingQueue(中) 休眠的藝術 [續],隊列ringqueue
一個無鎖消息隊列引發的血案(六)——RingQueue(中) 休眠的藝術 [續],隊列ringqueue目錄 (一)起因 (二)混合自旋鎖 (三)q3.h 與
Leetcode:LRUCache四個版本實現
Leetcode:LRUCache四個版本實現 Design and implement a data structure for Least Recent
LeetCode—Compare Version Numbers
LeetCode—Compare Version Numbers Compare two version numbers version1 and vers
POJ 3177 Redundant Paths(邊雙聯通圖)
POJ 3177 Redundant Paths(邊雙聯通圖) Description In order to get from one of t
Codeforces 508D Tanya and Password
Codeforces 508D Tanya and Password 題意: n(10^5)個串每個串3個字符 兩個串abc、xyz能拼在一起前提是b=x
SGU 275 To xor or not to xor (高斯消元)
SGU 275 To xor or not to xor (高斯消元) 題目地址:SGU 275 首先,貪心的思想,每一二進制位上要盡量是1,而能不能是1用
LeetCode --- 14. Longest Common Prefix
LeetCode --- 14. Longest Common Prefix Write a function to find the lon