1. 程式人生 > >HDU 1028 母函式做法

HDU 1028 母函式做法

題目連結 http://acm.hdu.edu.cn/showproblem.php?pid=1028

其實就是母函式模板,當然用DP也能做。

AC程式碼 https://github.com/Kiritow/OJ-Problems-Source/blob/master/HDOJ/1028.cpp