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:我就是用这种方法,也TLE的不行...

Posted by daizuyang at 2006-11-19 00:49:08 on Problem 3090
In Reply To:我就是用这种方法,也TLE的不行... Posted by:waterine at 2006-11-18 14:05:04
用欧拉函数
比如与30互质的数为 30(1-1/2)(1-1/3)(1-1/5)=8

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