Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:一道简单的数论题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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator