在阿里云控制台:安全(云盾)->证书服务->购买证书里(地址:https://common-buy.aliyun.com/?spm=5176.2020520163.cas.1.zTLyhO&commodityCode=cas#/buy) 选择免费的证书类型完成购买 免费购买完成后,在订单里不去信息, ...
分类:
Web程序 时间:
2017-09-24 18:24:03
阅读次数:
300
在阿里云控制台:安全(云盾)->证书服务->购买证书里(地址:https://common-buy.aliyun.com/?spm=5176.2020520163.cas.1.zTLyhO&commodityCode=cas#/buy) 选择免费的证书类型完成购买 免费购买完成后,在订单里不去信息, ...
分类:
Web程序 时间:
2017-09-23 21:29:28
阅读次数:
297
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
其他好文 时间:
2017-09-23 17:20:21
阅读次数:
135
Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction ...
分类:
其他好文 时间:
2017-09-23 16:19:21
阅读次数:
175
这道题为简单题 题目: 思路: 这道题我做得有点久了,今天才看见没有写进来,这个挺简单的,min保存最小值,cha最大差值,遍历列表,如果该元素大于min,就cha就等于cha和i-min之间的最大值,如果该元素小于min,那么min就等于i,最后返回cha 代码: ...
分类:
其他好文 时间:
2017-09-22 00:47:05
阅读次数:
96
问题描述 问题描述 某股票交易所请你编写一个程序,根据开盘前客户提交的订单来确定某特定股票的开盘价和开盘成交量。 该程序的输入由很多行构成,每一行为一条记录,记录可能有以下几种: 1. buy p s 表示一个购买股票的买单,每手出价为p,购买股数为s。 2. sell p s 表示一个出售股票的卖 ...
分类:
其他好文 时间:
2017-09-16 13:31:34
阅读次数:
190
https://vjudge.net/problem/POJ-2828 题目意思:有n个数,进行n次操作,每次操作有两个数pos, ans。pos的意思是把ans放到第pos 位置的后面,pos后面的数就往后推一位。最后输出每个位置的ans。 思路:根据题 目可知,最后插入的位置的数才是最终不变的数 ...
分类:
其他好文 时间:
2017-09-16 01:13:57
阅读次数:
213
1、申请免费1年的ssl证书(传送门:https://common-buy.aliyun.com/?spm=5176.2020520163.cas.29.N0xOPM&commodityCode=cas#/buy)。免费证书,只能使用一个域名,不支持主域名下的二级域名,请悉知。不过1个阿里云帐号可以 ...
分类:
Web程序 时间:
2017-09-13 15:25:19
阅读次数:
364
原题来自:121:https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/ 122:https://leetcode.com/problems/best-time-to-buy-and-sell-stock- ...
分类:
编程语言 时间:
2017-09-09 22:30:46
阅读次数:
231
需要准备的资料整理如下: 1 域名未注册,建议在 阿里云注册:https://www.aliyun.com/,2 服务器https://ecs-buy.aliyun.com/配置:计费方式:包年包月地域:华东 1(随机分配)实例规格:ecs.n4.large(2核 4GB,共享计算型 n4)I/O ...
分类:
移动开发 时间:
2017-09-08 18:11:21
阅读次数:
307