题目描述
blablabla
class Solution {
public:
vector[HTML_REMOVED] multiply(const vector[HTML_REMOVED]& A) {
int n=A.size();
vector[HTML_REMOVED] res(n,1);
if(!n) return res;
res[1]=A[0];
for(int i=2;i[HTML_REMOVED]=0;i–){
sum=A[i+1];
res[i]=sum;
}
return res;
}
};