摘要: export default (prices)=>{ //用来保存利润 let count=0 for(let i=0,len=prices.length;i<len;i++){ for(let j=i;j<len-1;j++){ if(prices[j+1]>prices[j]){ count+= 阅读全文
posted @ 2020-09-06 22:11 石shi 阅读(894) 评论(0) 推荐(0) 编辑