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 waterine at 2003-07-09 14:59:52 on Problem 1165
In Reply To:用枚举法不把质数都存起来怎样不超时啊? Posted by:slick at 2003-07-08 11:55:26
我按这个顺序5重嵌套循环,没存质数,420k,480ms:
row0
col0
row4
col4
主对角线

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