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 |
输入如果是负数,改成正数就行了。如果是比k大,对k取模In Reply To:这题要谨防负数的出现。要么把数组开到负的,要么加一个很大的k的倍数再mod。 Posted by:lydliyudong at 2011-06-14 13:06:25 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator