码迷,mamicode.com
首页 >  
搜索关键字:iv    ( 2286个结果
hdu 1029 Ignatius and the Princess IV
题意:找出出现次数大于(N+1)/2的数。 思路:开一个二维数组dp[ i ][ j ]--- i 表示摸个数,j 表示 i 这个数出现的次数。 Ignatius and the Princess IV 伊格内修斯和四公主 Time Limit: 2000/1000 MS (Java/Others)    Me...
分类:其他好文   时间:2015-06-20 17:11:57    阅读次数:127
以dialog的形式弹出定位地图
dialog = new Dialog(context, R.style.dialog); // 自定义dialog宽和高 // setDialog(); View viewMap = LayoutInflater.from(context).inflate( R.layout.dialog_baidumap, null); iv_close = (Image...
分类:其他好文   时间:2015-06-19 18:52:57    阅读次数:267
(转) centos安装oracle11.2 pdksh软件包的说明
对于pdksh软件包,可从以下URL下载:ftp://fr2.rpmfind.net/linux/PLD/dists/ac/ready/i686/pdksh-5.2.14-33.i686.rpm由于该包中设定的sh的符号联接及man文档与bash软件包冲突,需要使用以下方法安装:# rpm -iv ...
分类:数据库   时间:2015-06-18 17:11:17    阅读次数:174
[LeetCode-JAVA] Best Time to Buy and Sell Stock IV
题目:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complet...
分类:编程语言   时间:2015-06-18 11:07:33    阅读次数:151
13 Roman to Integer(罗马数字转int Easy)
题目意思:罗马数字转int思路:字符串从最后一位开始读,IV:+5-1 1 class Solution { 2 public: 3 int romanToInt(string s) { 4 map mymap; 5 mymap['I']=1; 6 ...
分类:其他好文   时间:2015-06-17 23:00:27    阅读次数:134
12 Integer to Roman(int转罗马数字Medium)
题目意思:1-3999转罗马数字思路:从大往小减 ps:这题有点蛋疼 1 class Solution { 2 public: 3 string intToRoman(int num) { 4 string a[]={"I","IV","V","IX","X","XL","...
分类:其他好文   时间:2015-06-17 21:20:36    阅读次数:121
HDU3416 Marriage Match IV(spfa+最大流SAP)
Marriage Match IV Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2391    Accepted Submission(s): 722 Problem Description Do not sincer...
分类:其他好文   时间:2015-06-16 19:14:34    阅读次数:124
杭电1029--Ignatius and the Princess IV(哈希)
Ignatius and the Princess IVTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32767K (Java/Other)Total Submission(s) : 5Accepted Submission(s)...
分类:其他好文   时间:2015-06-15 00:11:34    阅读次数:107
LeetCode 12-13:Integer to Roman&&Roman to Integer
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.1~9: {"I", "II", "III", "IV", "V", "VI", "VI...
分类:其他好文   时间:2015-06-12 16:45:05    阅读次数:94
国密SM3算法
一、关于sm3算法本身 1、分组,将需要加密的文件转为2进制,然后分组为512*K+448(K为任意整数,不够用一个“1”和多个“0”补齐),再加上64位的文件长度信息构成512*(K+1)的分组 2、迭代运算,这里有一个参数(256位)参与运算,初始值V(0)(文档中叫做IV),迭代一次之后得到V(1),后面依次迭代得到V(1)、V(2)、V(3)……V(K)、V(K+1),V(K+1...
分类:编程语言   时间:2015-06-11 21:18:25    阅读次数:6216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!