原文:
https://www.ssllabs.com/downloads/SSL_TLS_Deployment_Best_Practices_1.3.pdf
译者:?Shawn?the?R0ck,(后面校正的自己加到后面)
SSL/TLS部署最佳实践
作者:Ivan?Risti?
version?1.3?(17?Sep...
分类:
其他好文 时间:
2014-12-03 12:41:23
阅读次数:
456
做了一个多小时,终于AC了。class Solution {public: int maxProfit(vector &prices) { int i = 0, tmpi = 0, len = prices.size(), minp = 0; vector ...
分类:
其他好文 时间:
2014-12-03 00:17:24
阅读次数:
297
主要谈谈锁的性能以及其它一些理论知识,内容主要的出处是《Java Concurrency in Practice》,结合自己的理解和实际应用对锁机制进行一个小小的总结。首先需要强调的一点是:所有锁(包括内置锁和高级锁)都是有性能消耗的,也就是说在高并发的情况下,由于锁机制带来的上下文切换、资源同步等...
分类:
编程语言 时间:
2014-12-03 00:15:48
阅读次数:
122
和上一题类似Best Time to Buy and Sell Stock,这里还是用一个数组存每天股票价格,你有很多次买入卖出的机会,但是每次买入要在前一次卖出前。Say you have an array for which theithelement is the price of a giv...
分类:
其他好文 时间:
2014-12-02 22:30:53
阅读次数:
182
在这个小结里面重点讨论原子操作的原理和设计思想。由于在下一个章节中会谈到锁机制,因此此小节中会适当引入锁的概念。在Java Concurrency in Practice中是这样定义线程安全的:当多个线程访问一个类时,如果不用考虑这些线程在运行时环境下的调度和交替运行,并且不需要额外的同步及在调用方...
分类:
移动开发 时间:
2014-12-02 22:28:48
阅读次数:
259
有一个价格数组,对应的位置代表改天股票的价格,你有一次买入和卖出的机会,你如何使得收益最大化。也就是返回profit。Say you have an array for which theithelement is the price of a given stock on dayi.If you ...
分类:
其他好文 时间:
2014-12-02 22:21:50
阅读次数:
177
此题非常水,不做说明。package practice;import java.io.BufferedInputStream;import java.util.Scanner;/** * @author caiyu * @date 2014-12-2 */public class POJ1008 {...
分类:
编程语言 时间:
2014-12-02 16:35:39
阅读次数:
173
点击打开链接
题意:求第二短路,题目定义:一定要大于最短路 并且路可以重复走;
开二维数组 d[N][2] 分别记录最短路和第二短路
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#include
#include
#inc...
分类:
其他好文 时间:
2014-12-02 00:09:38
阅读次数:
245
D - Robotic Sort
Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
1890
Appoint description:
System Crawler (2014-11-27)
Descri...
分类:
其他好文 时间:
2014-12-02 00:07:05
阅读次数:
242
G - SuperMemo
Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice POJ
3580
Appoint description:
System Crawler (2014-11-27)
Descripti...
分类:
其他好文 时间:
2014-12-02 00:06:41
阅读次数:
218