构建乘积数组
摘要:
class Solution { public: vector multiply(const vector& A) { vectorres; vector left(A.size(),1); vector right(A.size(),1); for(int i=1;i=0;i--) right[i]=A[i+1]*r... 阅读全文
posted @ 2016-04-27 22:08 RenewDo 阅读(74) 评论(0) 推荐(0) 编辑