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:为什么一定要在末尾补一个0啊,不然是错的,算出的sa有些是负数?In Reply To:为什么一定要在末尾补一个0啊,不然是错的,算出的sa有些是负数? Posted by:oracle_ at 2014-10-07 12:45:37 不加的时候,有可能你后缀进行比较的时候会比较不完。如果有末尾是0,那么到了这个0,就一定能确定大小了。 否则你想想 2222, 2222222这两个后缀比较下、 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator