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 |
纪念300!!!说下这题我感觉比较巧妙的思路!!!像个队列一样,把该乘的放进一个数组,该除的放进一个数组, 然后ans初始为1,ans》=1的时候,就进行除,ans<1就乘, 注意有一个数组先遍历完的处理。我感觉这个思路很有意思。纪念300呵呵。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator