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 |
Re:显然不是O(n)的,想一想你的total乘出来会有多大.In Reply To:显然不是O(n)的,想一想你的total乘出来会有多大. Posted by:xfxyjwf at 2005-06-14 19:31:53 应该是把100分成几块,然后每个块的个数取最小公倍数,象题目的数据就是3,2,2,1,1,1最小循环是6,但是如果达到200就很恐怖了,算了还是想其他方法 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator