摘要: #define max(a,b) ((a)>(b))?(a) :(b); int maxProfit(int* prices, int pricesSize){ if(pricesSize==0) return 0; int i, buy=-prices[0], sell=0, pre=0, tmp 阅读全文
posted @ 2021-01-02 16:27 温暖了寂寞 阅读(56) 评论(0) 推荐(0) 编辑