码迷,mamicode.com
首页 >  
搜索关键字:long    ( 19145个结果
ubuntu12.04和ros的安装
一.ubuntu12.04lts安装 (lts=long term support长期支持)1.在电脑上分出100G的未分配空间(xp:删除逻辑分区,win7:压缩...)2.下载ubuntu系统的镜像文件,如:ubuntu-12.04.4-desktop-i386.ios3.将镜像文件做成启动盘,...
分类:其他好文   时间:2014-07-23 12:14:56    阅读次数:399
LeetCode "Sqrt(x)"
2 solutions: bin-search and Newton iteration.class Solution {public: int _sqrt(long long tgt, long long i0, long long i1) { long long can...
分类:其他好文   时间:2014-07-23 12:02:06    阅读次数:236
Hibernate-主键生成方式
Hibernate配置文件hbm主键的generator可选项[日期:2014-02-18]来源:Linux社区作者:homechao[字体:大中小]1、自动增长identity适用于MySQL、DB2、MSSQLServer,采用数据库生成的主键,用于为long、short、int类型生成唯一标识使用SQLServer和MySQL的自增字段,这个方法不能..
分类:系统相关   时间:2014-07-23 00:19:08    阅读次数:460
hdu 4869
一个机智题,可惜比赛的时候没有机智出来#include#include#include#include#define ll long long#define mod 1000000009#define maxn 100009using namespace std;ll c[maxn];void gc...
分类:其他好文   时间:2014-07-22 23:37:17    阅读次数:366
UVA10673 上下界问题
1 #include 2 #include 3 using namespace std; 4 #define LL long long 5 LL a,b,m,n,d; 6 void ex_gcd(LL a,LL b,LL &x,LL &y,LL &d) 7 { 8 if(b==0){ 9...
分类:其他好文   时间:2014-07-22 23:34:07    阅读次数:358
Ultra-QuickSort
poj2299:http://poj.org/problem?id=2299题意:就是求逆序对。题解:直接用树状数组,但是这一题要你离散化,如果用之前的vector来离散化的话,会T的,自己用一个数组搞一下,然后二分查找,用lower_bound来搞一下,比vector要快。还有,答案要用long ...
分类:其他好文   时间:2014-07-22 23:32:37    阅读次数:285
10055 - Hashmat the Brave Warrior
#include#include#include#includeusing namespace std;//typedef __int64 lld;typedef long long lld;int main(){ lld n,m,ans; //while(scanf("%I64d%I6...
分类:其他好文   时间:2014-07-22 23:19:07    阅读次数:194
CSUOJ 1343
1343: Long LongTime Limit:1 SecMemory Limit:128 MBSubmit:180Solved:48[Submit][Status][Web Board]Description 现在有两个单调递增序列,第一个序列有N个整数,第二个序列有M个整数,现在你可以从第一...
分类:其他好文   时间:2014-07-22 23:13:12    阅读次数:232
linux内核中与进程相关的数据结构(基于linux-mainline-rc4)
1.进程描述符 struct task_struct { volatile long state; ....... struct list_head tasks; ....... struct mm_struct *mm, *active_mm; ....... struct v...
分类:系统相关   时间:2014-07-22 22:47:52    阅读次数:371
java基础数据类型char
java基础类型数据类型大小范围默认值 byte(字节) 8-128-1270 shot(短整型)16-32768-327680 int(整型)32-2147483648-21474836480 long(长整型)64-9233372036854477808-92333720368544778080 float(浮点型)32-3.40292347E+38-3.40292347E+380.0f double(双精度) 64-1.79769313486..
分类:编程语言   时间:2014-07-22 18:25:12    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!