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:很奇怪的这道题9973后为什么要打表……In Reply To:很奇怪的这道题9973后为什么要打表…… Posted by:WXYZ at 2007-05-26 02:50:50 我想可能是10000+5以内的素数最大为9973,如果按照这样的素数表来算的话,输入的数大于9973的结果就有错的,建议用10000+10以内的素数表,这样最大的素数为10009,9973以后的就不用打表了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator