码迷,mamicode.com
首页 >  
搜索关键字:bits    ( 3873个结果
gnu-software
https://www.gnu.org/software/coreutils/manual/coreutils.html#File-permissions文件权限被包括在coreutils包中。The file mode bits have two parts: the file permissio...
分类:其他好文   时间:2015-05-11 12:31:25    阅读次数:103
【LeetCode】Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit integer ’11' has binary representation 00000000000000000000000000001011, so the function should return 3....
分类:其他好文   时间:2015-05-11 10:53:29    阅读次数:135
matlab 分析wav波形
[x,fs,bits]=wavread('d.wav', [1 5000]); % sound(x, fs, bits); N = length(x); n = 0 : N-1; t = n/fs; % x = x y = fft(x, N); mag = abs(y); f = n * fs / ...
分类:其他好文   时间:2015-05-09 10:04:01    阅读次数:183
leetcode_191题——Number of 1 Bits(外运算)
Number of 1 BitsTotal Accepted:25965Total Submissions:70075My SubmissionsQuestionSolutionWrite a function that takes an unsigned integer and returns t...
分类:其他好文   时间:2015-05-05 21:14:37    阅读次数:124
leetcode 190 Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 00111001011110...
分类:其他好文   时间:2015-05-04 18:18:59    阅读次数:71
【转】Linux I2C设备驱动编写(三)-实例分析AM3359
原文网址:http://www.cnblogs.com/biglucky/p/4059586.htmlTI-AM3359 I2C适配器实例分析I2C Spec简述特性:兼容飞利浦I2C 2.1版本规格支持标准模式(100K bits/s)和快速模式(400K bits/s)多路接收、发送模式支持7b...
分类:系统相关   时间:2015-05-04 17:40:55    阅读次数:271
HDU 4054 Hexadecimal View 模拟
戳这里:HDU 4054//复习一下 cin.getline() 的用法 1 #include "bits/stdc++.h" 2 using namespace std; 3 char str[5000]; 4 5 char Change(char c) 6 { 7 if('A' <= ...
分类:其他好文   时间:2015-05-04 01:13:18    阅读次数:189
HDU 4020 Ads Proposal 离线操作
戳这里:HDU 4020//为方便处理输入信息而对其进行 排序 预处理,算是经典的离线操作方法了 1 #include "bits/stdc++.h" 2 using namespace std; 3 int T, N, M, Q; 4 struct Ads 5 { 6 int U, C, ...
分类:其他好文   时间:2015-05-04 01:10:24    阅读次数:124
HDU 4004 The Frog's Games 二分 贪心
戳这里:HDU 4004//思路:二分经典入门题...贪心判方案是否可行 1 #include "bits/stdc++.h" 2 using namespace std; 3 int L, n, m; 4 int pos[500010], dis[500010]; 5 6 bool Cant(i....
分类:其他好文   时间:2015-05-04 01:06:17    阅读次数:180
HDU 4001 To Miss Our Children Time dp
戳这里:HDU 4001//题意:有三种积木,第0种只能放在长和宽都严格小于它的积木上,第1种 只能放在长和宽都小于等于它 且 面积小于它的积木上,第2种 只能放在长和宽都小于等于它的积木上,dp求积木的最高高度。 1 #include "bits/stdc++.h" 2 using namespa...
分类:其他好文   时间:2015-05-04 01:01:47    阅读次数:112
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!