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 hustzhangyt at 2010-08-07 20:26:07 on Problem 1014
In Reply To:Re:取模的方法是错的,无论对多少取摸,给个简单的反例 Posted by:hustzhangyt at 2010-08-07 20:24:07
呃,那是加3啊! 不过我在想,对k取模后,如果原先的数比k大就加个k,这样是否可以?

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