摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> int simplification(int a[], int n) { int i,j,k; for(i = 0; i < n - 1; ++i) { for(j = i + 1; j 阅读全文
posted @ 2017-03-09 14:05 qhu1500802073 阅读(148) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: /** * @param prices: Given an integer array * @return: Maximum profit */ int maxProfit(vector<int> &prices) { // write your co 阅读全文
posted @ 2017-03-09 14:03 qhu1500802073 阅读(103) 评论(0) 推荐(0) 编辑