Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
重述一下题目感觉题目说得有点不够清楚,我来重述一下题意。起始有一个集合{1} 和起始值 s = 1, 每次从集合中选择一个数,与 s 作加或减运算,结果必须是正数,然后把 s 改写成该数,并向集合中加入 s。问要得到 n 最少需要几步。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator