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:请问这句怎么理解,卡在这里了,"You are also to compute the number of values 0 < p <= N such that p is not part of any triple (not just relatively prime triples)." 谢谢In Reply To:请问这句怎么理解,卡在这里了,"You are also to compute the number of values 0 < p <= N such that p is not part of any triple (not just relatively prime triples)." 谢谢 Posted by:youngtrips at 2007-08-26 12:02:02 让你辛苦等了两年半,我来解答你的问题吧。 对于方程x^2 + y^2 = z^2有解(triples)为(x,y,z), p = |{k|k!=x && k!=y && k!=z for any(x,y,z) that fits x^2 + y^2 = z^2, k <= N, k为正整数}| Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator