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 |
是你的程序写得不好啦,算法根本就没实现,就是O(n)的嘛In Reply To:Re:显然不是O(n)的,想一想你的total乘出来会有多大. Posted by:cpp051300448324 at 2005-06-14 19:51:26 > 应该是把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