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

我晕~~~ 1也算质数???!!!!

Posted by K208 at 2005-10-02 19:22:15 on Problem 1595
In Reply To:题目讲反了吧 Posted by:K208 at 2005-10-02 19:05:16
> 题目说 print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list. 
> 样例第一个21 2
> 1-21有8个质数,不是应该打印C*2 = 4个吗?为什么只打印了3个!!!

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