码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果
leetcode之Gray Code
Gray Code The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the cod...
分类:其他好文   时间:2014-08-27 14:45:48    阅读次数:236
Unix 网络编程 读书笔记
第一章:C/C++语言提供两种不同的编程模式:IPL32和PL64。? IPL32 ● 表示integer/pointer/long三种数据类型是32位(4个字节),在这种模式下,提供32位的地址空间,理论的内存使用限制为4G。? PL64 ● 表示pointer/long两种数据类型是64位(8个...
分类:其他好文   时间:2014-08-27 14:31:37    阅读次数:182
delphi中将 4 个 Byte 合成 1 个 Integer 的五种方法
有4个字节类型的值,用移位或逻辑运算符怎么合成一个整数?比如 $FFEEDDCC。高$FF$EE$DD$CC低//方法 1: 共用内存procedure TForm1.Button1Click(Sender: TObject);varbf: record b1,b2,b3,b4: Byte end;...
分类:其他好文   时间:2014-08-27 12:17:47    阅读次数:248
HDU 4815 Little Tiger vs. Deep Monkey
Little Tiger vs. Deep MonkeyTime Limit: 1000msMemory Limit: 65535KBThis problem will be judged onHDU. Original ID:481564-bit integer IO format:%I64d J...
分类:其他好文   时间:2014-08-27 10:44:38    阅读次数:307
【Leet Code】Palindrome Number
Palindrome Number  Total Accepted: 19369 Total Submissions: 66673My Submissions Determine whether an integer is a palindrome. Do this without extra space. 判断一个数整数是不是回文?例如121,122...
分类:其他好文   时间:2014-08-27 01:40:27    阅读次数:180
【Leet Code】String to Integer (atoi) ——常考类型题
String to Integer (atoi)  Total Accepted: 15482 Total Submissions: 106043My Submissions Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases...
分类:其他好文   时间:2014-08-27 01:40:07    阅读次数:293
N-Queens
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, return all d...
分类:其他好文   时间:2014-08-27 00:11:56    阅读次数:308
HDU 482 String
StringTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:482164-bit integer IO format:%I64d Java class name:MainGiv...
分类:其他好文   时间:2014-08-26 22:48:36    阅读次数:214
poj 2240 Arbitrage
Time Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]DescriptionArbitrage...
分类:其他好文   时间:2014-08-26 21:13:06    阅读次数:206
Spiral Matrix II
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the following...
分类:其他好文   时间:2014-08-26 19:19:56    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!