leetcode 209 : Minimum Size Subarray Sum
Minimum Size Subarray SumTotal Accepted: 1954 Total Submissions: 8526Given an ar
POJ1037:A decorative fence(DP)
DescriptionRichard just finished building his new house. Now the only thing the
UVA 11992(Fast Matrix Operations
Fast Matrix OperationsThere is a matrix containing at most 106 elements di
HDOJ題目2577 How to Type(dp)
How to TypeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (J
POJ 1523 SPF (割頂 點雙連通分量)
題意就是求出在一個圖上去除一個點之後,那個圖會變成多少個子連通圖。顯然我們要求出割頂。我的代碼套用了劉汝佳的大白書的tarjan算法,用一個數組cnt[]記錄一
ACdream1414 Geometry Problem
Problem DescriptionPeter is studying in the third grade of elementary school. Hi
String 字符串截取拼裝換行 接近Textview換行問題
變態需求 Textview只能顯示10個英文字符 多的換行顯示 默認android 的Textview只能這是寬度強制換行,要不就是在字符串裡面有換行符&quo