码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
杭电1394 Minimum Inversion Number(线段树)
Minimum Inversion Number Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 1   Accepted Submission(s) : 1 Problem Description The inversion nu...
分类:其他好文   时间:2014-08-26 17:23:36    阅读次数:283
我的Linux命令操作手册
1,配置VIM 打开vim,普通模式下输入下面的命令找到vim的位置 :echo $VIM /usr/share/vim打开返回目录下的文件vimrc,进行配置 vim /usr/share/vim/vimrc具体配置如下: syntax on "语法高亮 set autowrite "自动保存 set number "显示行号 set autoindent "自动缩进 set tabst...
分类:系统相关   时间:2014-08-26 17:22:15    阅读次数:283
hash bucket
什么是bucketbucket的英文解释:Hash table lookup operations are often O(n/m) (where n is the number of objects in the table and m is the number of buckets), whi...
分类:其他好文   时间:2014-08-26 17:08:36    阅读次数:308
SQL的高级语法
TOP 子句TOP 子句用于规定要返回的记录的数目。对于拥有数千条记录的大型表来说,TOP 子句是非常有用的。SQL Server 的语法:SELECT TOP number|percent column_name(s)FROM table_nameSELECT TOP 1000 [id] ...
分类:数据库   时间:2014-08-26 17:03:16    阅读次数:218
ZOJ3798:Abs Problem
Alice and Bob is playing a game, and this time the game is all about the absolute value! Alice has N different positive integers, and each number is not greater than N. Bob has a lot of blank paper, ...
分类:其他好文   时间:2014-08-26 15:37:46    阅读次数:228
HDU 2665 Kth number
题解:求区间K小,函数式线段树模板题。#include #include #include using namespace std;const int N=3000005;struct node{int num,id;}a[N];int T,n,m,x,y,z,tot,b[N],head[N],so...
分类:其他好文   时间:2014-08-26 15:25:46    阅读次数:195
velocity语法
1.声明变量 #set($var = XXX) 右边可以是以下的内容 Variable reference String literal Property reference Method reference Number literal #set ($i=1) ArrayList #set ($a...
分类:其他好文   时间:2014-08-26 15:07:46    阅读次数:398
HDU 4937 Lucky Number(枚举进制)
题目大意:给你一个十进制的数字n,然后问你转化为某一进制后它的每一位的数字只可能为3,4,5,6.求这种符合条件的进制有多少种。 解题思路:这题虽然没说进制有多大但是我们可以简单的分析一下,n的上限是10^12,如果有四位数字的话,那至少要出现三次方,所以进制最大为10000。 所以我们枚举一下,一位的时候3,4,5,6显然为-1. 两位的时候解一下a*x+b = n。 三位时解一下:a*...
分类:其他好文   时间:2014-08-26 11:38:06    阅读次数:276
peime number
//primenumber #include<iostream> usingnamespacestd; intmain() { boolisprime; cout<<"Primenumber:"<<endl; for(inti=3;i<=100;i++) { isprime=true; for(intj=2;j<i;j++) { if(i%j==0) isprime=false; } if(isprime) cout<<i<<"isp..
分类:其他好文   时间:2014-08-26 03:04:35    阅读次数:222
Leetcode:Edit Distance 字符串编辑距离
原题戳我Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha...
分类:其他好文   时间:2014-08-26 00:14:25    阅读次数:334
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!