码迷,mamicode.com
首页 >  
搜索关键字:bit manipulation    ( 10794个结果
LeetCode:Gray Code 题解
题目描述:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total n...
分类:其他好文   时间:2014-05-26 21:30:04    阅读次数:296
关于float与double
//float与double的范围和精度 1. 范围 float和double的范围是由指数的位数来决定的。// float的指数位有8位,而double的指数位有11位,分布如下:// float: 1 bit(符号位) 8bits(指数位) 23bits(尾数位)// double:1 ...
分类:其他好文   时间:2014-05-26 14:12:25    阅读次数:189
1.SQL DDL DML
1.DDL数据定义语言(Data Definiton Language)用于create 和alter Schema。2.DML数据操作语言(Data manipulation Language)用于操作和获取数据,insertion,update,deletion,,,,.sql书sql tuni...
分类:数据库   时间:2014-05-26 12:42:47    阅读次数:268
SQL Server 的字段类型
数据库中存储的信息主要有:数字、时间、文字、图片、唯一标示等。针对数字有:bit,tinyint,smallint,int,long,decimal,float。长度从一个位逐个字节(8位)的增加。时间:date,datetime.文字:char,varchar,nvarchar.唯一标示有:tim...
分类:数据库   时间:2014-05-26 09:12:53    阅读次数:218
北邀 E Elegant String
E. Elegant StringTime Limit:1000msCase Time Limit:1000msMemory Limit:65536KB64-bit integer IO format:%lld Java class name:MainSubmitStatusPID: 34985Fo...
分类:其他好文   时间:2014-05-26 08:23:51    阅读次数:269
74LS160 笔记 数电实验
74LS160 The LS160A / 161A / 162A / 163A are high-speed 4-bit synchronous counters.  74LS160是4位同步计数器。。。不废话了 74LS160 datasheet            个人感觉,数电其实是模电的衍生学科,两者都是IC...
分类:其他好文   时间:2014-05-26 05:20:42    阅读次数:303
驱动enc28j60芯片
官网的驱动需要多个文件,为了提取ENC28J60驱动,改写如下:      原数据类型定义: typedef unsigned char BYTE; /* 8-bit unsigned */ typedef unsigned short int WORD;...
分类:其他好文   时间:2014-05-26 05:02:58    阅读次数:488
LightOJ-1032 - Fast Bit Calculations
A bit is a binary digit, taking a logical value of either 1 or 0 (also referred to as "true" or "false" respectively). And every decimal number has a binary representation which is actually a series o...
分类:其他好文   时间:2014-05-24 17:19:41    阅读次数:335
2014北京邀请赛 Happy Reversal
H. Happy Reversal 64-bit integer IO format: %lld      Java class name: Main Elfness is studying in an operation "NOT". For a binary number A, if we do operation "NOT A", after that, all digit...
分类:移动开发   时间:2014-05-23 00:43:49    阅读次数:430
2014北京邀请赛(部分题解)
马上要去比赛了。 今天做了一下2014北京邀请赛,出了两道题目,感觉很水啊、、、 首先H题: H. Happy Reversal Time Limit: 1000ms Case Time Limit: 1000ms Memory Limit: 65536KB 64-bit integer IO format: %lld      Java class name...
分类:其他好文   时间:2014-05-22 23:07:32    阅读次数:417
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!