Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

附送一个1000000以内整数快速因子分解的方法吧

Posted by DongSJ at 2011-09-05 22:40:20 on Problem 2773
In Reply To:Re:硬搞也过-_-````````` Posted by:DongSJ at 2011-09-05 22:37:59
> 硬搞125ms,算了,不优化了~
其实很简单,筛法筛素数表的时候,对每个数字记录是被哪个素数筛掉的就可以了

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator