1周題-HDU-1049--Climbing Worm

問題來源 HDU-1049 問題描述 An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute before climbing again. During the rest, it
相關文章
相關標籤/搜索