最近在做3DES加密,在本地window下面运行ok的程序,放到linux环境上竟然报错:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede/CBC/PKCS5Padding
at javax.crypto.Cipher.getInstance(Ciphe...
分类:
编程语言 时间:
2014-07-22 23:05:35
阅读次数:
1021
这道题在前两个的基础上做稍微改进就可以。下面是AC代码: 1 /** 2 * Design an
algorithm to find the maximum profit. You may complete at most two transactions.
3 * @pa...
分类:
其他好文 时间:
2014-07-22 23:01:13
阅读次数:
251
一、会议时间:2014年5月1日21:00--21:30二、会议地点:二三餐厅二楼三、会议目的: 开始学习安卓内容四、会议内容:1、处理昨天的问题:
我们统计了昨天的进度,询问了昨天遇到的问题2、开始今天任务: 我们今天学习了安卓的初步内容,学习了安卓的控件,它的button的意义,以及如何...
分类:
其他好文 时间:
2014-05-02 19:26:06
阅读次数:
271
1.资源种创建的控件,对其属性的动态控制:在对话框类的头文件里创建所要改变属性的控件的对象,如要改变一个Button(其ID为IDC_MyButton)的属性,则需创建Cbutton的对象m_button。然后在.cpp中的DoDataExchange函数里将Button的ID和创建的对象绑定在一起...
分类:
其他好文 时间:
2014-05-02 12:36:42
阅读次数:
320
1.工具条和状态条中控件的添加:方法⑴.只能在ToolBar里创建控件:首先,在ToolBar中创建一个Button,其ID为ID_TOOL_COMBO(我们要将创建的控件放在该Button的位置上).其次,新创建一个类CMainToolBar,要从CToolBar继承(创建过程大概如下:选择工程/...
分类:
其他好文 时间:
2014-05-02 12:28:02
阅读次数:
260
这道题,采用动态规划算法。from top to
down,把到每个节点的最小路径和都求出来。下面是AC代码: 1 /** 2 * Given a triangle, find the minimum path
sum from top to bottom. 3 * Each ...
分类:
其他好文 时间:
2014-05-02 12:19:23
阅读次数:
382
一.asp.net1.点击Repeater中的LinkButton,获取当中label中的值:
Label lblName = ((LinkButton )sender).Parent.FindControl("lblName") as Label
;或者在gridView中,添加按钮列Button...
分类:
其他好文 时间:
2014-05-01 21:07:18
阅读次数:
356
Requirement-Driven Linux Shell
ProgrammingRequirement-Driven Linux Shell ProgrammingTable of Contents1. Where
can I find the basic Material about Linu...
分类:
系统相关 时间:
2014-05-01 20:40:05
阅读次数:
678
题目: Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique lo...
分类:
其他好文 时间:
2014-05-01 20:07:13
阅读次数:
429
妈咪,我找到了! -- 15个实用的Linux
find命令示例http://www.oschina.net/translate/15-practical-linux-find-command-examples?p=2#comments爹地,我找到了!
-- 15个极好的Linux find命令示例...
分类:
系统相关 时间:
2014-05-01 19:41:30
阅读次数:
429