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:请教一下: t%=100000; 有什么作用啊?In Reply To:Re:请教一下: t%=100000; 有什么作用啊? Posted by:36072219890803 at 2009-04-22 21:46:51 > 你想一下10000时,后四位全为0,你必须保留前5位啊,所以就模100000啊 举个例子,你自己比算一下:14的时候你保留个位的话(%10)算出来是13的结果乘以14,如果你保留两位(%100)看看结果又是怎样 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator