http://www.cppblog.com/sleepwom/archive/2010/07/08/119746.html一、X.509数字证书的编码X.509证书的结构是用ASN1(Abstract
Syntax Notation One)进行描述数据结构,并使用ASN1语法进行编码。ASN1采...
分类:
其他好文 时间:
2014-05-27 02:51:56
阅读次数:
335
####JSON(JavaScript
Object Notation) JSON:一种轻量级的数据交换格式。特点:易于人阅读和编写。同时...
分类:
Web程序 时间:
2014-05-24 03:28:51
阅读次数:
360
LaTeX commandEquivalent toOutput
styleRemarks\textnormal{...}{\normalfont...}document font familyThis is the
default or normal font.\emph{...}{\em...}...
分类:
Web程序 时间:
2014-05-24 00:13:51
阅读次数:
274
html, body, div, span, applet, object, iframe, h1,
h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, i...
分类:
Web程序 时间:
2014-05-23 11:42:06
阅读次数:
394
解题思路:
给出一堆单词,看能不能找到 一个或几个单词相连,使得首字母为b,末字母为m,如果可以输出YES,否则NO。 如果几个单词相连,要求相邻单词首末字母相同,如 big got them.思路是建立状态表,边输入边建立表, 比如单词ab,则c[0][1]=1,输入结束后,初步的表建立完成,那么连接单词,就要查找,根据状态表,找以b开头的单词,b-a,b-c,b-d.....z,最多找25次...
分类:
其他好文 时间:
2014-05-22 11:56:29
阅读次数:
232
题目:
链接:点击打开链接
题意:
给出N种设备的价值和数量,怎样尽可能的平分。
算法:
多重背包。
思路:
1.转化为01背包解决。2.使用单调队列优化O(VN)算法。
代码:
法一:
#include
#include
#include
using namespace std;
int n;
int v[55],m[55];
int...
分类:
其他好文 时间:
2014-05-22 09:09:38
阅读次数:
205
Problem Description
As we know, Big Number is always troublesome. But it's really important in our ACM. And today, your task is to write a program to calculate A mod B.
To make the problem easie...
分类:
其他好文 时间:
2014-05-20 14:42:07
阅读次数:
324
Logistic Regression
逻辑回归解决问题类型二分类问题(classification) Notation给定一个样本集T样本总数为m每个样本记做
其中为输入变量,也称为特征变量;为我们要预测的输出变量,也称为目标变量表示第个样本。 Hypothesis的作用是,对于给定的输入变量,根...
分类:
其他好文 时间:
2014-05-19 11:59:01
阅读次数:
391
题意:
Evaluate the value of an arithmetic expression in
Reverse Polish Notation.
Valid operators are +, -, *,
/. Each operand may be an integer or another expression.
So...
分类:
其他好文 时间:
2014-05-18 08:09:15
阅读次数:
190
JSON格式化工具:
JSON定义
JSON(JavaScript Object Notation)一种轻量级的数据交换格式,具有良好的可读和便于快速编写的特性。可在不同平台之间进行数据交换。JSON采用兼容性很高的、完全独立于语言文本格式,同时也具备类似于C语言的习惯(包括C, C++, C#,
Java, JavaScript, Perl, Python等)体系的行为。这些...
分类:
Web程序 时间:
2014-05-18 07:27:04
阅读次数:
361