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:判断一个数是不是2个数的平方和,只要从1枚举到n/2的开方 就可以了

Posted by darkcaller at 2011-09-15 20:34:09 on Problem 3511
In Reply To:判断一个数是不是2个数的平方和,只要从1枚举到n/2的开方 就可以了 Posted by:407811696 at 2011-04-08 18:55:16
事实上题目告诉了你对于素数,这和mod4==1是等价的

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