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 gsyagsy at 2008-05-02 13:12:07 on Problem 3219
In Reply To:一道简单的数论题 Posted by:lironghua at 2008-04-16 21:00:48
> 题目的本质是求n! mod 2
> n!质因数分解,只需算出2的阶数
> n! / (k! (n - k)!) 判断分子和分母的大小即可
嗯,而且计算N!中2的阶数,只要计算N/2+N/4……


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