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

提问一个诡异的问题

Posted by SherlockBourne at 2007-03-30 14:04:33 on Problem 2140
我的方法是统计小于N的奇数个数 这样是可以AC的,但是后来觉得似乎还要再减去
N / P < (P - 1) / 2 (P是可以被P整除的奇数)的部分 也就是说开头数的第一个数字<0的部分 这个想法正确么(当然是错误的……因为不减的AC了。。。)? 牛人指点 !

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