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 070220219 at 2009-10-14 14:00:46 on Problem 1091
In Reply To:解题报告。。。。。。。。。 Posted by:jince at 2009-09-09 20:43:49
优美的代码,尤其是get函数,写的很省……
原本我是想先求出M的所有约数,假设一共t个,P[1,2,……,t],定义Ai为N个数有公约数P[i],
再用荣斥原理的公式求结果。但是实现起来比较麻烦。你这个代码写的是 真省 !呀!

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