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

分解质因子用枚举就足够了。但是只用分解到 sqrt(N) 以内的质内子。比 sqrt(N) 大的质因子最多只有一个。

Posted by ImLazy at 2008-11-07 10:58:44 on Problem 3604
In Reply To:为什么我用了公式还是TLE吖!! Posted by:380757580 at 2008-07-26 16:32:20


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