因为明年的工作可能要涉及到加密的问题,所以要看一下加密方面,刚好之前对于web开发方面的加密,https也一直有疑问,于是就买了本图解密码技术来看看 1.如何保证数据只能单向解密: 比较流行的一个就是公钥和私钥,公钥负责加密,私钥负责解密,只要私钥没有被拿到,数据就不会被破解,比较流行的 就是RSA
分类:
其他 时间:
2016-02-07 13:35:03
收藏:
0 评论:
0 赞:
0 阅读:
126
#ifndef _ARRAY_H_ #define _ARRAY_H_ class Array { private: int mLength; int* mSpace; public: Array(int length); Array(const Array& obj); int length();
分类:
其他 时间:
2016-02-07 13:34:49
收藏:
0 评论:
0 赞:
0 阅读:
268
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or
分类:
其他 时间:
2016-02-07 13:34:42
收藏:
0 评论:
0 赞:
0 阅读:
227
听别人说信息班应该用不同的方式来庆祝新年 哇咔咔! 那就只能以独特的方式庆祝咯……#include<cstdio>#include<cmath>#include<cstring>#include<iostream>#include<algorithm>#include<functional>#inc
分类:
其他 时间:
2016-02-07 13:34:20
收藏:
0 评论:
0 赞:
0 阅读:
141
树形DP水题。判断取法是否唯一,dp的时候记录一下每个状态从下面的子节点推导过来的时候是否唯一即可。 #include<cstdio> #include<cstring> #include<cmath> #include<ctime> #include<map> #include<vector> #
分类:
其他 时间:
2016-02-07 13:33:59
收藏:
0 评论:
0 赞:
0 阅读:
199
【HDU2222】 最纯粹的裸题,错误点详见注释。 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 #include<queue> 6 using namespace std; 7
分类:
其他 时间:
2016-02-07 13:33:52
收藏:
0 评论:
0 赞:
0 阅读:
221
Financial Crisis 题意:给一个图,包含N ( 3 <= N <= 5000 )个点, M ( 0 <= M <= 10000 )条边 and Q ( 1 <= Q <= 1000 )次查询.查询:两个点是否是点-双连通; 点-双连通:两点至少存在两条"点不重复"的路径;简称双连通(b
分类:
其他 时间:
2016-02-07 13:33:45
收藏:
0 评论:
0 赞:
0 阅读:
371
Query on a tree Time Limit: 851MS Memory Limit: 1572864KB 64bit IO Format: %lld & %llu Submit Status Description You are given a tree (an acyclic undi
分类:
其他 时间:
2016-02-07 13:33:38
收藏:
0 评论:
0 赞:
0 阅读:
195
1、dos命令安装mysqld --stall、启动net start mysql、进入MySQL数据库mysql -uroot -p后,输入select user();当前用户 select current_date();当前日期 select current_time();当前时间 select
分类:
其他 时间:
2016-02-07 13:33:31
收藏:
0 评论:
0 赞:
0 阅读:
255
当我们拿到一个对象的引用时,如何知道这个对象是什么类型、有哪些方法呢? 使用type() 首先,我们来判断对象类型,使用type()函数: 基本类型都可以用type()判断: >>> type(123) <class 'int'> >>> type('str') <class 'str'> >>>
分类:
其他 时间:
2016-02-07 13:32:55
收藏:
0 评论:
0 赞:
0 阅读:
259
Problem Description 1967 年,美国著名的社会学家斯坦利·米尔格兰姆提出了一个名为“小世界现象(small world phenomenon)”的著名假说,大意是说,任何2个素不相识的人中间最多只隔着6个人,即只用6个人就可以将他们联系在一起,因此他的理论也被称为 “六度分离”
分类:
其他 时间:
2016-02-07 13:32:48
收藏:
0 评论:
0 赞:
0 阅读:
176
Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the or
分类:
其他 时间:
2016-02-07 13:32:26
收藏:
0 评论:
0 赞:
0 阅读:
142
UVA11069 - A Graph Problem(DP) 题目链接 题目大意:给你n个点。要你找出有多少子串符合要求。首先没有连续的数字,其次不能再往里面加入不论什么的数字而不违反第一条要求。 解题思路:要发现每一个数字选定后。之后能够有两种选择。所以f(n) = f(n + 2) + f(n
分类:
其他 时间:
2016-02-07 13:32:20
收藏:
0 评论:
0 赞:
0 阅读:
83
序列化: (1)概念:将内存中的java对象保存到文件中的过程称为序列化, (2)步骤: //1、将需要保存的对象的所在类实现序列化接口:Serializable Class Student implements Serializable{} //2、创建序列化对象: ObjectOutputStr
分类:
其他 时间:
2016-02-07 13:32:12
收藏:
0 评论:
0 赞:
0 阅读:
136
寒假过半。惶恐。 2.7 HDU 5622 KK's Chemical 只要不成环,每个点贡献就是K - 1. 所以先处理好环的。再找出每个环,数长度,算贡献。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 usin
分类:
其他 时间:
2016-02-07 13:31:51
收藏:
0 评论:
0 赞:
0 阅读:
215
package chengbaoDemo; import java.util.ArrayList; import java.util.Arrays; import comman.Human; /** * ArrayList 底层实现 */ public class MyArrayList { /**
分类:
其他 时间:
2016-02-07 13:31:44
收藏:
0 评论:
0 赞:
0 阅读:
272
PCI(Peripheral Component Interconnect) USB(Universal Serial Bus) AGP(Accelerated Graphic Ports) PCI EXPRESS RAID(Redundant Arrays of Independent Disks
分类:
其他 时间:
2016-02-07 13:31:37
收藏:
0 评论:
0 赞:
0 阅读:
247
1.Xcode-push到远程仓库不能使用邮箱 2.Xcode-push到远程仓库需使用昵称
分类:
其他 时间:
2016-02-07 13:31:31
收藏:
0 评论:
0 赞:
0 阅读:
202
定义一个函数,函数中用 yield 暂停函数,则这个函数就是一个生成器。生成器返回一个迭代器。 yield 和 return 的区别: 1. 执行函数时, 到了return ,函数就结束了。 执行到了yield ,暂停, 如果yield 后面还有 语句, 下次调用 __next__() 方法可以继续
分类:
其他 时间:
2016-02-07 13:31:15
收藏:
0 评论:
0 赞:
0 阅读:
211
字符流 读数据:BufferedReader步骤: (1)创建FileReader和BufferedReader对象 FileReader f =new FileReader(文件路径); BufferedReader read=new BufferedReader(f); (2)调用readLin
分类:
其他 时间:
2016-02-07 13:31:08
收藏:
0 评论:
0 赞:
0 阅读:
116