NYOJ 215 Sum
生活随笔
收集整理的這篇文章主要介紹了
NYOJ 215 Sum
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Sum
時(shí)間限制:1000?ms ?|? 內(nèi)存限制:65535?KB 難度:2 描述For a given S, find out the minimum value N in order to obtain S according to the conditions of the problem.? 輸入
The only line of every test cases contains a positive integer S (0< S <= 100000) which represents the sum to be obtained.
A zero terminate the input.
The number of test cases is less than 100000.
總結(jié)
以上是生活随笔為你收集整理的NYOJ 215 Sum的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 会哭的孩子有奶吃?
- 下一篇: 老板要做DDD改造,我现在慌得一比!