码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
[ACM] HDU 1796 How many integers can you find (容斥原理)
How many integers can you find Problem Description   Now you get a number N, and a M-integers set, you should find out how many integers which are small than N, that they can divided exact...
分类:其他好文   时间:2015-04-08 13:16:01    阅读次数:146
#6 ZigZag Conversion
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:其他好文   时间:2015-04-08 13:03:51    阅读次数:158
1-Two Sum
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two...
分类:其他好文   时间:2015-04-08 12:40:40    阅读次数:88
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 i...
分类:其他好文   时间:2015-04-08 12:21:36    阅读次数:101
web报表工具FineReport常用函数的用法总结(报表函数)
说明:本次总结中,凡是以tableName或viewName作为参数因子的。函数在调用的时候均按照先从私有数据源中查找,然后再从公有数据源中查找的顺序。   CLASS CLASS(object):返回object对象的所属的类。 CNMONEY CNMONEY(number,unit)返回人民币大写。 number:需要转换的数值型的数。 unit:单位,"s","b","...
分类:Web程序   时间:2015-04-08 11:05:43    阅读次数:133
【LeetCode从零单刷】Number of 1 Bits
菜鸡单刷LeetCode系列!...
分类:其他好文   时间:2015-04-08 11:02:15    阅读次数:106
Leetcode随想------Single Number-----关于异或的性质
异或满足交换律,结合律任何数X^X=0,X^0=X自反性 A XOR B XOR B = A xor 0 = A设有A,B两个变量,存储的值分别为a,b,则以下三行表达式将互换他们的值 表达式 (值) :A=A XOR B (a XOR b)B=B XOR A (b XOR a XOR b = a)...
分类:其他好文   时间:2015-04-08 10:51:53    阅读次数:138
leetcode之Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-04-08 10:51:18    阅读次数:104
Sicily 14256. Pseudo Semiprime
14256. Pseudo Semiprime Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description In number theory, a positive integer is a semiprime if it is the product of two primes. For example, 35 i...
分类:其他好文   时间:2015-04-08 09:13:44    阅读次数:108
leetcode:Populating Next Right Pointers in Each Node
一道DFS的题目,题意如下: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 1...
分类:其他好文   时间:2015-04-08 09:12:29    阅读次数:107
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!