UVA 10271 Chopsticks(線性DP) In China, people use a pair of chopsticks to get fo
LeetCode Minimum Size Subarray Sum 題目 思路 O(n)的思路比較簡單,直接用兩個下標掃一遍即可; O(nLogn)有點
hdu 1505 City Game(hdu1506的二維推廣) 1.輸入的時候數據的時候要注意 2.1506的二維推廣 代碼: #include #in
LeetCode的medium題集合(C++實現)六 1 Multiply Strings Given two numbers represented as
LightOJ1027---A Dangerous Maze (期望) You are in a maze; seeing n doors in front
leetcode_Search Insert Position 描述: Given a sorted array and a target v
LightOJ1317---Throwing Balls into the Baskets (概率dp) You probably have played