PAT: 1055. The World's Richest (25)
1055. The Worlds Richest (25) 時間限制 200 ms 內存限制 128000 kB 代碼長度限制 16
HDU 4597 Play Game 記憶化搜索
這道題還是去長春之前看的,當時以為是博弈什麼的。後來學長說是記憶化搜索,當時連簡單的DP都不會,只好先扔到一邊了。 dp[s1][e1][s2][e2]
UVA 11401 Triangle Counting(數學)
Problem GTriangle Counting Input: StandardInput Output: StandardOutput You
UVa10047 - The Monocycle
題目地址:點擊打開鏈接 數組int visited[maxsize][maxsize][4][5];//4代表4個方向,5代編5中顏色,0,1,2,3代編