Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:这个方法怎么理解,我看不懂为什么这样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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator