摘要:
class Solution {public: int maxProfit(vector<int> &prices) { // Start typing your C/C++ solution below // DO NOT write int main() function if(prices.size() <2) return 0; int *profit = new int[prices.size()]; memset(profit,0, sizeof(int)*prices.size()) ; i... 阅读全文
posted @ 2013-04-11 23:31
冰点猎手
阅读(143)
评论(0)
推荐(0)