码迷,mamicode.com
首页 >  
搜索关键字:minimum    ( 3256个结果
实习第一天
网页手机wap2.0网页的head里加入下面这条元标签,在iPhone的浏览器中页面将以原始大小显示,并不允许缩放。 width - viewport的宽度 height - viewport的高度 initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到的最小比...
分类:其他好文   时间:2014-09-15 15:38:39    阅读次数:228
【Hdu】Minimum Inversion Number(逆序,线段树)
利用线段树在nlogn的时间复杂度内求一段数的逆序。 由于给的序列是由0 ~ n -1组成的,求出初始的逆序之后可以递推出移动之后的逆序数。 #include #include #include #include using namespace std; typedef long long LL; const int maxn = 5555; int tree[maxn << 2]; int ...
分类:其他好文   时间:2014-09-13 21:35:25    阅读次数:252
POJ 2516 Minimum Cost
Minimum CostTime Limit: 4000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:251664-bit integer IO format:%lld Java class name:Ma...
分类:其他好文   时间:2014-09-13 21:20:15    阅读次数:275
HUST - 1010 The Minimum Length
Description There is a string A. The length of A is less than 1,000,000. I rewrite it again and again. Then I got a new string: AAAAAA...... Now I cut it from two different position and get a new str...
分类:其他好文   时间:2014-09-12 19:11:14    阅读次数:229
Minimum Path Sum
[leetcode]Minimum Path Sum...
分类:其他好文   时间:2014-09-12 10:19:33    阅读次数:161
Leetcode--Palindrome Partitioning II
Problem Description: Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning of s. For example...
分类:其他好文   时间:2014-09-11 21:00:32    阅读次数:208
Java中基本数据类型byte,short,char,int,long,float,double
部分内容转自:java 彻底理解 byte char short int float long double首先说byte:这段是摘自jdk中 Byte.java中的源代码: 1 /** 2 * A constant holding the minimum value a byte can...
分类:编程语言   时间:2014-09-11 17:06:22    阅读次数:199
Leetcode dfs&dp Triangle
Triangle  Total Accepted: 17536 Total Submissions: 65508My Submissions Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row...
分类:其他好文   时间:2014-09-11 07:42:01    阅读次数:194
hdu 1394 Minimum Inversion Number
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1394思路:先求逆序数,然后有个技巧(真坑)......用线段树或者树状数组都可以做。移位的技巧就是逆序数是减少ant[i],而增加n-1-ant[i]的.#include #include #incl....
分类:其他好文   时间:2014-09-10 22:27:01    阅读次数:298
关于手机meta
下面是手机网页的一些认识initial-scale - 初始的缩放比例 minimum-scale - 允许用户缩放到的最小比例 maximum-scale - 允许用户缩放到的最大比例 user-scalable - 用户是否可以手动缩放media="(device-height: 568...
分类:移动开发   时间:2014-09-09 19:49:59    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!