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 TommyTT at 2014-08-10 08:38:16 on Problem 1365
In Reply To:题意 Posted by:shouzhewei at 2010-07-16 10:13:17
> 已知任意一个大于1的数可以表示成一些素数的乘积,即x=p1^e1*p2^e2……pn^en (pi 为素数,ei 为对应素数的个数),现给你x的表示,要你求x-1的表示。
> 
> 例:输入:5 1 2 1  则x=5^1*2^1=10,所以x-1=9,9可以表示成:9=3^2
>    输出:3 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