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

Re:这题有解题报告没

Posted by frkstyc at 2008-06-30 08:51:50 on Problem 3604
In Reply To:这题有解题报告没 Posted by:zfy0701 at 2008-06-29 21:15:41
> 我是用分解质因子 + dfs的,很慢很慢
> 希望知道更好的做法

Let the prime factorization of $N$ be

N=\prod_{i=1}^mp_i^{k_i},

the answer is

\left(\prod_{i=1}^m\binom{k_i+2}{2}\right)^2.

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