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 lijingwei at 2010-07-04 14:08:38 on Problem 2551
In Reply To:Re:这个方法怎么理解,我看不懂为什么这样 Posted by:lanseniao at 2009-02-27 21:13:04
比如说输入3,
当除数为11时11=9+2;同余把2弄出来;
111=(9+2)*10+1=9*10+2*10+1;     !注意9是3的倍数;
9*10能除尽3,要判断111满不满足,只要判断2*10+1能不能除尽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