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 sdau_08notears at 2011-03-04 20:05:19 on Problem 1023
64
pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppn
9223372036854775807

如果采用从地位到高位求的方法,n不能被2整除则该位为1,同时n加1或减1,然后除以2
上面这组数据若n直接加1则超过__int64的范围,可以先减1,除以2以后再加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