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
相关文章
相关标签/搜索