How to write the given problem using JAVA program?

后端 未结 0 1657
無奈伤痛
無奈伤痛 2021-01-20 18:56

John has to go to his friend clarie house. He can walk in either 1,2,3,4,5 KM in 1 hour. Then find minimum hour required to go to his friend house.

Input 5 Output 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题